Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Job
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1Job
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
A job represents an instance of a task.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#execution_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec
Execution related settings, like retry and service_account.
-
#labels ⇒ Hash<String,String>
Output only.
-
#message ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#retry_count ⇒ Fixnum
Output only.
-
#service ⇒ String
Output only.
-
#service_job ⇒ String
Output only.
-
#start_time ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#trigger ⇒ String
Output only.
-
#uid ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1Job
constructor
A new instance of GoogleCloudDataplexV1Job.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1Job
Returns a new instance of GoogleCloudDataplexV1Job.
3633 3634 3635 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Output only. The time when the job ended.
Corresponds to the JSON property endTime
3573 3574 3575 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3573 def end_time @end_time end |
#execution_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec
Execution related settings, like retry and service_account.
Corresponds to the JSON property executionSpec
3578 3579 3580 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3578 def execution_spec @execution_spec end |
#labels ⇒ Hash<String,String>
Output only. User-defined labels for the task.
Corresponds to the JSON property labels
3583 3584 3585 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3583 def labels @labels end |
#message ⇒ String
Output only. Additional information about the current state.
Corresponds to the JSON property message
3588 3589 3590 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3588 def @message end |
#name ⇒ String
Output only. The relative resource name of the job, of the form: projects/
project_number/locations/location_id/lakes/lake_id/tasks/task_id/jobs/
job_id.
Corresponds to the JSON property name
3595 3596 3597 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3595 def name @name end |
#retry_count ⇒ Fixnum
Output only. The number of times the job has been retried (excluding the
initial attempt).
Corresponds to the JSON property retryCount
3601 3602 3603 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3601 def retry_count @retry_count end |
#service ⇒ String
Output only. The underlying service running a job.
Corresponds to the JSON property service
3606 3607 3608 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3606 def service @service end |
#service_job ⇒ String
Output only. The full resource name for the job run under a particular service.
Corresponds to the JSON property serviceJob
3611 3612 3613 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3611 def service_job @service_job end |
#start_time ⇒ String
Output only. The time when the job was started.
Corresponds to the JSON property startTime
3616 3617 3618 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3616 def start_time @start_time end |
#state ⇒ String
Output only. Execution state for the job.
Corresponds to the JSON property state
3621 3622 3623 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3621 def state @state end |
#trigger ⇒ String
Output only. Job execution trigger.
Corresponds to the JSON property trigger
3626 3627 3628 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3626 def trigger @trigger end |
#uid ⇒ String
Output only. System generated globally unique ID for the job.
Corresponds to the JSON property uid
3631 3632 3633 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3631 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3638 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 |