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.



6559
6560
6561
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6559

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



6552
6553
6554
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6552

def latest_job
  @latest_job
end

#update_timeString

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

Returns:

  • (String)


6557
6558
6559
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6557

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6564
6565
6566
6567
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6564

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