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.



1030
1031
1032
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1030

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)


1008
1009
1010
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1008

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)


1013
1014
1015
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1013

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)


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

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)


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

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)


1028
1029
1030
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1028

def task_number
  @task_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1035
1036
1037
1038
1039
1040
1041
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1035

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