Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/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.



8050
8051
8052
# File 'lib/google/apis/integrations_v1/classes.rb', line 8050

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

Instance Attribute Details

#ancestor_iteration_numbersArray<String>

Ancestor iteration number for the task(it will only be non-empty if the task is under 'private workflow') Corresponds to the JSON property ancestorIterationNumbers

Returns:

  • (Array<String>)


8012
8013
8014
# File 'lib/google/apis/integrations_v1/classes.rb', line 8012

def ancestor_iteration_numbers
  @ancestor_iteration_numbers
end

#ancestor_task_numbersArray<String>

Ancestor task number for the task(it will only be non-empty if the task is under 'private workflow') Corresponds to the JSON property ancestorTaskNumbers

Returns:

  • (Array<String>)


8018
8019
8020
# File 'lib/google/apis/integrations_v1/classes.rb', line 8018

def ancestor_task_numbers
  @ancestor_task_numbers
end

#execution_attemptFixnum

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

Returns:

  • (Fixnum)


8023
8024
8025
# File 'lib/google/apis/integrations_v1/classes.rb', line 8023

def execution_attempt
  @execution_attempt
end

#integration_nameString

The direct integration which the event execution snapshots belongs to Corresponds to the JSON property integrationName

Returns:

  • (String)


8028
8029
8030
# File 'lib/google/apis/integrations_v1/classes.rb', line 8028

def integration_name
  @integration_name
end

#taskString

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

Returns:

  • (String)


8033
8034
8035
# File 'lib/google/apis/integrations_v1/classes.rb', line 8033

def task
  @task
end

#task_attemptFixnum

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

Returns:

  • (Fixnum)


8038
8039
8040
# File 'lib/google/apis/integrations_v1/classes.rb', line 8038

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)


8043
8044
8045
# File 'lib/google/apis/integrations_v1/classes.rb', line 8043

def task_label
  @task_label
end

#task_numberString

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

Returns:

  • (String)


8048
8049
8050
# File 'lib/google/apis/integrations_v1/classes.rb', line 8048

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
# File 'lib/google/apis/integrations_v1/classes.rb', line 8055

def update!(**args)
  @ancestor_iteration_numbers = args[:ancestor_iteration_numbers] if args.key?(:ancestor_iteration_numbers)
  @ancestor_task_numbers = args[:ancestor_task_numbers] if args.key?(:ancestor_task_numbers)
  @execution_attempt = args[:execution_attempt] if args.key?(:execution_attempt)
  @integration_name = args[:integration_name] if args.key?(:integration_name)
  @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