lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.27.0 vs lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.28.0
- old
+ new
@@ -1471,16 +1471,25 @@
# DataProfileScan related setting.
class GoogleCloudDataplexV1DataProfileSpec
include Google::Apis::Core::Hashable
+ # Optional. The percentage of the records to be selected from the dataset for
+ # DataScan. Value can range between 0.0 and 100.0 with up to 3 significant
+ # decimal digits. Sampling is not applied if sampling_percent is not specified,
+ # 0 or 100.
+ # Corresponds to the JSON property `samplingPercent`
+ # @return [Float]
+ attr_accessor :sampling_percent
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
end
end
# DataQualityDimensionResult provides a more detailed, per-dimension view of the
# results.
@@ -1916,17 +1925,26 @@
# required.
# Corresponds to the JSON property `rules`
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRule>]
attr_accessor :rules
+ # Optional. The percentage of the records to be selected from the dataset for
+ # DataScan. Value can range between 0.0 and 100.0 with up to 3 significant
+ # decimal digits. Sampling is not applied if sampling_percent is not specified,
+ # 0 or 100.
+ # Corresponds to the JSON property `samplingPercent`
+ # @return [Float]
+ attr_accessor :sampling_percent
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@rules = args[:rules] if args.key?(:rules)
+ @sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
end
end
# Represents a user-visible job which provides the insights for the related data
# source.For example: Data Quality: generates queries based on the rules and
@@ -5290,10 +5308,10 @@
@locations = args[:locations] if args.key?(:locations)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
- # A resource that represents Google Cloud Platform location.
+ # A resource that represents a Google Cloud location.
class GoogleCloudLocationLocation
include Google::Apis::Core::Hashable
# The friendly name for this location, typically a nearby city name. For example,
# "Tokyo".