Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot

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) ⇒ EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot.



3844
3845
3846
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3844

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

Instance Attribute Details

#checkpoint_task_numberString

Indicates "right after which checkpoint task's execution" this snapshot is taken. Corresponds to the JSON property checkpointTaskNumber

Returns:

  • (String)


3793
3794
3795
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3793

def checkpoint_task_number
  @checkpoint_task_number
end

#condition_resultsArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoConditionResult>

All of the computed conditions that been calculated. Corresponds to the JSON property conditionResults



3798
3799
3800
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3798

def condition_results
  @condition_results
end

#diff_paramsGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoEventParameters

LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see go/integration-platform/event_bus.md for more details. Next id: 4 Corresponds to the JSON property diffParams



3805
3806
3807
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3805

def diff_params
  @diff_params
end

#event_execution_info_idString

Points to the event execution info this snapshot belongs to. Corresponds to the JSON property eventExecutionInfoId

Returns:

  • (String)


3810
3811
3812
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3810

def event_execution_info_id
  @event_execution_info_id
end

#event_execution_snapshot_idString

Auto-generated. Used as primary key for EventExecutionSnapshots table. Corresponds to the JSON property eventExecutionSnapshotId

Returns:

  • (String)


3815
3816
3817
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3815

def event_execution_snapshot_id
  @event_execution_snapshot_id
end

#event_execution_snapshot_metadataGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata

Corresponds to the JSON property eventExecutionSnapshotMetadata



3820
3821
3822
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3820

def 
  @event_execution_snapshot_metadata
end

#event_paramsGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoEventParameters

LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see go/integration-platform/event_bus.md for more details. Next id: 4 Corresponds to the JSON property eventParams



3827
3828
3829
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3827

def event_params
  @event_params
end

#snapshot_timeFixnum

Indicates when this snapshot is taken. Corresponds to the JSON property snapshotTime

Returns:

  • (Fixnum)


3832
3833
3834
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3832

def snapshot_time
  @snapshot_time
end

#task_execution_detailsArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskExecutionDetails>

All of the task execution details at the given point of time. Corresponds to the JSON property taskExecutionDetails



3837
3838
3839
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3837

def task_execution_details
  @task_execution_details
end

#task_nameString

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

Returns:

  • (String)


3842
3843
3844
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3842

def task_name
  @task_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3849

def update!(**args)
  @checkpoint_task_number = args[:checkpoint_task_number] if args.key?(:checkpoint_task_number)
  @condition_results = args[:condition_results] if args.key?(:condition_results)
  @diff_params = args[:diff_params] if args.key?(:diff_params)
  @event_execution_info_id = args[:event_execution_info_id] if args.key?(:event_execution_info_id)
  @event_execution_snapshot_id = args[:event_execution_snapshot_id] if args.key?(:event_execution_snapshot_id)
  @event_execution_snapshot_metadata = args[:event_execution_snapshot_metadata] if args.key?(:event_execution_snapshot_metadata)
  @event_params = args[:event_params] if args.key?(:event_params)
  @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
  @task_execution_details = args[:task_execution_details] if args.key?(:task_execution_details)
  @task_name = args[:task_name] if args.key?(:task_name)
end