Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaTaskExecutionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb

Overview

Contains the details of the execution of this task.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTaskExecutionDetails

Returns a new instance of GoogleCloudIntegrationsV1alphaTaskExecutionDetails.



8647
8648
8649
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8647

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

Instance Attribute Details

#task_attempt_statsArray<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaAttemptStats>

Status for the current task execution attempt. Corresponds to the JSON property taskAttemptStats



8635
8636
8637
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8635

def task_attempt_stats
  @task_attempt_stats
end

#task_execution_stateString

The execution state of this task. Corresponds to the JSON property taskExecutionState

Returns:

  • (String)


8640
8641
8642
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8640

def task_execution_state
  @task_execution_state
end

#task_numberString

Pointer to the task config it used for execution. Corresponds to the JSON property taskNumber

Returns:

  • (String)


8645
8646
8647
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8645

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8652
8653
8654
8655
8656
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8652

def update!(**args)
  @task_attempt_stats = args[:task_attempt_stats] if args.key?(:task_attempt_stats)
  @task_execution_state = args[:task_execution_state] if args.key?(:task_execution_state)
  @task_number = args[:task_number] if args.key?(:task_number)
end