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.



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

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)


1131
1132
1133
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1131

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)


1136
1137
1138
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1136

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)


1141
1142
1143
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1141

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)


1146
1147
1148
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1146

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1153
1154
1155
1156
1157
1158
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1153

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