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.



6999
7000
7001
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6999

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



6992
6993
6994
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6992

def latest_job
  @latest_job
end

#update_timeString

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

Returns:

  • (String)


6997
6998
6999
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6997

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7004
7005
7006
7007
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7004

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