Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata

Returns a new instance of EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata.



1150
1151
1152
# File 'lib/google/apis/integrations_v1/classes.rb', line 1150

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>)


1112
1113
1114
# File 'lib/google/apis/integrations_v1/classes.rb', line 1112

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>)


1118
1119
1120
# File 'lib/google/apis/integrations_v1/classes.rb', line 1118

def ancestor_task_numbers
  @ancestor_task_numbers
end

#event_attempt_numFixnum

the event attempt number this snapshot belongs to. Corresponds to the JSON property eventAttemptNum

Returns:

  • (Fixnum)


1123
1124
1125
# File 'lib/google/apis/integrations_v1/classes.rb', line 1123

def event_attempt_num
  @event_attempt_num
end

#integration_nameString

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

Returns:

  • (String)


1128
1129
1130
# File 'lib/google/apis/integrations_v1/classes.rb', line 1128

def integration_name
  @integration_name
end

#task_attempt_numFixnum

the task attempt number this snapshot belongs to. Could be empty. Corresponds to the JSON property taskAttemptNum

Returns:

  • (Fixnum)


1133
1134
1135
# File 'lib/google/apis/integrations_v1/classes.rb', line 1133

def task_attempt_num
  @task_attempt_num
end

#task_labelString

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

Returns:

  • (String)


1138
1139
1140
# File 'lib/google/apis/integrations_v1/classes.rb', line 1138

def task_label
  @task_label
end

#task_nameString

the task name associated with this snapshot. Could be empty. Corresponds to the JSON property taskName

Returns:

  • (String)


1143
1144
1145
# File 'lib/google/apis/integrations_v1/classes.rb', line 1143

def task_name
  @task_name
end

#task_numberString

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

Returns:

  • (String)


1148
1149
1150
# File 'lib/google/apis/integrations_v1/classes.rb', line 1148

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
# File 'lib/google/apis/integrations_v1/classes.rb', line 1155

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)
  @event_attempt_num = args[:event_attempt_num] if args.key?(:event_attempt_num)
  @integration_name = args[:integration_name] if args.key?(:integration_name)
  @task_attempt_num = args[:task_attempt_num] if args.key?(:task_attempt_num)
  @task_label = args[:task_label] if args.key?(:task_label)
  @task_name = args[:task_name] if args.key?(:task_name)
  @task_number = args[:task_number] if args.key?(:task_number)
end