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.



1018
1019
1020
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1018

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)


1001
1002
1003
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1001

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)


1006
1007
1008
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1006

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)


1011
1012
1013
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1011

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)


1016
1017
1018
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1016

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1023
1024
1025
1026
1027
1028
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1023

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