Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata

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

Metadata of the execution snapshot.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata

Returns a new instance of GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata.



6724
6725
6726
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6724

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

Instance Attribute Details

#execution_attemptFixnum

the execution attempt number this snapshot belongs to. Corresponds to the JSON property executionAttempt

Returns:

  • (Fixnum)


6702
6703
6704
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6702

def execution_attempt
  @execution_attempt
end

#taskString

the task name associated with this snapshot. Corresponds to the JSON property task

Returns:

  • (String)


6707
6708
6709
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6707

def task
  @task
end

#task_attemptFixnum

the task attempt number this snapshot belongs to. Corresponds to the JSON property taskAttempt

Returns:

  • (Fixnum)


6712
6713
6714
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6712

def task_attempt
  @task_attempt
end

#task_labelString

the task label associated with this snapshot. Could be empty. Corresponds to the JSON property taskLabel

Returns:

  • (String)


6717
6718
6719
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6717

def task_label
  @task_label
end

#task_numberString

The task number associated with this snapshot. Corresponds to the JSON property taskNumber

Returns:

  • (String)


6722
6723
6724
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6722

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6729
6730
6731
6732
6733
6734
6735
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6729

def update!(**args)
  @execution_attempt = args[:execution_attempt] if args.key?(:execution_attempt)
  @task = args[:task] if args.key?(:task)
  @task_attempt = args[:task_attempt] if args.key?(:task_attempt)
  @task_label = args[:task_label] if args.key?(:task_label)
  @task_number = args[:task_number] if args.key?(:task_number)
end