Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionStatus

Inherits:
Object
  • Object
show all
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

Status of the task execution (e.g. Jobs).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1TaskExecutionStatus

Returns a new instance of GoogleCloudDataplexV1TaskExecutionStatus.



5292
5293
5294
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5292

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#latest_jobGoogle::Apis::DataplexV1::GoogleCloudDataplexV1Job

A job represents an instance of a task. Corresponds to the JSON property latestJob



5285
5286
5287
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5285

def latest_job
  @latest_job
end

#update_timeString

Output only. Last update time of the status. Corresponds to the JSON property updateTime

Returns:

  • (String)


5290
5291
5292
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5290

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5297
5298
5299
5300
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5297

def update!(**args)
  @latest_job = args[:latest_job] if args.key?(:latest_job)
  @update_time = args[:update_time] if args.key?(:update_time)
end