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.



969
970
971
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 969

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)


952
953
954
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 952

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)


957
958
959
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 957

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)


962
963
964
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 962

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)


967
968
969
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 967

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



974
975
976
977
978
979
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 974

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