Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionSnapshot

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

Overview

Contains the snapshot of the event execution for a given checkpoint. Next available id: 13

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoEventExecutionSnapshot

Returns a new instance of EnterpriseCrmEventbusProtoEventExecutionSnapshot.



925
926
927
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 925

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)


868
869
870
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 868

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



873
874
875
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 873

def condition_results
  @condition_results
end

#diff_paramsGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventParameters

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



880
881
882
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 880

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)


885
886
887
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 885

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)


890
891
892
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 890

def event_execution_snapshot_id
  @event_execution_snapshot_id
end

#event_execution_snapshot_metadataGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata

Corresponds to the JSON property eventExecutionSnapshotMetadata



895
896
897
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 895

def 
  @event_execution_snapshot_metadata
end

#event_paramsGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventParameters

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



902
903
904
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 902

def event_params
  @event_params
end

#exceed_max_sizeBoolean Also known as: exceed_max_size?

indicate whether snapshot exceeded maximum size before clean up Corresponds to the JSON property exceedMaxSize

Returns:

  • (Boolean)


907
908
909
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 907

def exceed_max_size
  @exceed_max_size
end

#snapshot_timeFixnum

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

Returns:

  • (Fixnum)


913
914
915
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 913

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



918
919
920
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 918

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)


923
924
925
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 923

def task_name
  @task_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



930
931
932
933
934
935
936
937
938
939
940
941
942
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 930

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)
  @exceed_max_size = args[:exceed_max_size] if args.key?(:exceed_max_size)
  @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