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.



7252
7253
7254
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7252

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



7245
7246
7247
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7245

def latest_job
  @latest_job
end

#update_timeString

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

Returns:

  • (String)


7250
7251
7252
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7250

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7257
7258
7259
7260
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7257

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