Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskExecutionDetails

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. Next available id: 11

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoTaskExecutionDetails

Returns a new instance of EnterpriseCrmEventbusProtoTaskExecutionDetails.



2772
2773
2774
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2772

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

Instance Attribute Details

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

Corresponds to the JSON property taskAttemptStats



2760
2761
2762
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2760

def task_attempt_stats
  @task_attempt_stats
end

#task_execution_stateString

Corresponds to the JSON property taskExecutionState

Returns:

  • (String)


2765
2766
2767
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2765

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)


2770
2771
2772
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2770

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2777
2778
2779
2780
2781
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2777

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