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.



8232
8233
8234
# File 'lib/google/apis/dataplex_v1/classes.rb', line 8232

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



8225
8226
8227
# File 'lib/google/apis/dataplex_v1/classes.rb', line 8225

def latest_job
  @latest_job
end

#update_timeString

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

Returns:

  • (String)


8230
8231
8232
# File 'lib/google/apis/dataplex_v1/classes.rb', line 8230

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8237
8238
8239
8240
# File 'lib/google/apis/dataplex_v1/classes.rb', line 8237

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