Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata

Returns a new instance of EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata.



1109
1110
1111
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1109

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

Instance Attribute Details

#event_attempt_numFixnum

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

Returns:

  • (Fixnum)


1092
1093
1094
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1092

def event_attempt_num
  @event_attempt_num
end

#task_attempt_numFixnum

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

Returns:

  • (Fixnum)


1097
1098
1099
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1097

def task_attempt_num
  @task_attempt_num
end

#task_nameString

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

Returns:

  • (String)


1102
1103
1104
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1102

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)


1107
1108
1109
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1107

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1114
1115
1116
1117
1118
1119
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1114

def update!(**args)
  @event_attempt_num = args[:event_attempt_num] if args.key?(:event_attempt_num)
  @task_attempt_num = args[:task_attempt_num] if args.key?(:task_attempt_num)
  @task_name = args[:task_name] if args.key?(:task_name)
  @task_number = args[:task_number] if args.key?(:task_number)
end