lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.29.0 vs lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.30.0

- old
+ new

@@ -1471,10 +1471,20 @@ # DataProfileScan related setting. class GoogleCloudDataplexV1DataProfileSpec include Google::Apis::Core::Hashable + # The specification for fields to include or exclude in data profile scan. + # Corresponds to the JSON property `excludeFields` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpecSelectedFields] + attr_accessor :exclude_fields + + # The specification for fields to include or exclude in data profile scan. + # Corresponds to the JSON property `includeFields` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpecSelectedFields] + attr_accessor :include_fields + # Optional. A filter applied to all rows in a single DataScan job. The filter # needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL # syntax. Example: col1 >= 0 AND col2 < 10 # Corresponds to the JSON property `rowFilter` # @return [String] @@ -1492,15 +1502,39 @@ update!(**args) end # Update properties of this object def update!(**args) + @exclude_fields = args[:exclude_fields] if args.key?(:exclude_fields) + @include_fields = args[:include_fields] if args.key?(:include_fields) @row_filter = args[:row_filter] if args.key?(:row_filter) @sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent) end end + # The specification for fields to include or exclude in data profile scan. + class GoogleCloudDataplexV1DataProfileSpecSelectedFields + include Google::Apis::Core::Hashable + + # Optional. Expected input is a list of fully qualified names of fields as in + # the schema.Only top-level field names for nested fields are supported. For + # instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z' + # is not supported. Here 'y' and 'y.z' are nested fields of 'x'. + # Corresponds to the JSON property `fieldNames` + # @return [Array<String>] + attr_accessor :field_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field_names = args[:field_names] if args.key?(:field_names) + end + end + # DataQualityDimensionResult provides a more detailed, per-dimension view of the # results. class GoogleCloudDataplexV1DataQualityDimensionResult include Google::Apis::Core::Hashable @@ -2892,11 +2926,11 @@ @reason = args[:reason] if args.key?(:reason) end end # Environment represents a user-visible compute infrastructure for analytics - # within a lake. + # within a lake. LINT.IfChange class GoogleCloudDataplexV1Environment include Google::Apis::Core::Hashable # Output only. Environment creation time. # Corresponds to the JSON property `createTime` @@ -3167,10 +3201,20 @@ # Output only. The time when the job ended. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time + # Execution related settings, like retry and service_account. + # Corresponds to the JSON property `executionSpec` + # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec] + attr_accessor :execution_spec + + # Output only. User-defined labels for the task. + # Corresponds to the JSON property `labels` + # @return [Hash<String,String>] + attr_accessor :labels + # Output only. Additional information about the current state. # Corresponds to the JSON property `message` # @return [String] attr_accessor :message @@ -3205,10 +3249,15 @@ # Output only. Execution state for the job. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state + # Output only. Job execution trigger. + # Corresponds to the JSON property `trigger` + # @return [String] + attr_accessor :trigger + # Output only. System generated globally unique ID for the job. # Corresponds to the JSON property `uid` # @return [String] attr_accessor :uid @@ -3217,17 +3266,20 @@ end # Update properties of this object def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) + @execution_spec = args[:execution_spec] if args.key?(:execution_spec) + @labels = args[:labels] if args.key?(:labels) @message = args[:message] if args.key?(:message) @name = args[:name] if args.key?(:name) @retry_count = args[:retry_count] if args.key?(:retry_count) @service = args[:service] if args.key?(:service) @service_job = args[:service_job] if args.key?(:service_job) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) + @trigger = args[:trigger] if args.key?(:trigger) @uid = args[:uid] if args.key?(:uid) end end # The payload associated with Job logs that contains events describing jobs that @@ -3238,10 +3290,15 @@ # The time when the job ended running. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time + # Job execution trigger. + # Corresponds to the JSON property `executionTrigger` + # @return [String] + attr_accessor :execution_trigger + # The unique id identifying the job. # Corresponds to the JSON property `jobId` # @return [String] attr_accessor :job_id @@ -3285,10 +3342,11 @@ end # Update properties of this object def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) + @execution_trigger = args[:execution_trigger] if args.key?(:execution_trigger) @job_id = args[:job_id] if args.key?(:job_id) @message = args[:message] if args.key?(:message) @retries = args[:retries] if args.key?(:retries) @service = args[:service] if args.key?(:service) @service_job = args[:service_job] if args.key?(:service_job) @@ -4074,15 +4132,39 @@ # class GoogleCloudDataplexV1RunTaskRequest include Google::Apis::Core::Hashable + # Optional. Execution spec arguments. If the map is left empty, the task will + # run with existing execution spec args from task definition. If the map + # contains an entry with a new key, the same will be added to existing set of + # args. If the map contains an entry with an existing arg key in task definition, + # the task will run with new arg value for that entry. Clearing an existing arg + # will require arg value to be explicitly set to a hyphen "-". The arg value + # cannot be empty. + # Corresponds to the JSON property `args` + # @return [Hash<String,String>] + attr_accessor :args + + # Optional. User-defined labels for the task. If the map is left empty, the task + # will run with existing labels from task definition. If the map contains an + # entry with a new key, the same will be added to existing set of labels. If the + # map contains an entry with an existing label key in task definition, the task + # will run with new label value for that entry. Clearing an existing label will + # require label value to be explicitly set to a hyphen "-". The label value + # cannot be empty. + # Corresponds to the JSON property `labels` + # @return [Hash<String,String>] + attr_accessor :labels + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @args = args[:args] if args.key?(:args) + @labels = args[:labels] if args.key?(:labels) end end # class GoogleCloudDataplexV1RunTaskResponse