Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionSnapshot

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoEventExecutionSnapshot

Returns a new instance of EnterpriseCrmEventbusProtoEventExecutionSnapshot.



1082
1083
1084
# File 'lib/google/apis/integrations_v1/classes.rb', line 1082

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)


1015
1016
1017
# File 'lib/google/apis/integrations_v1/classes.rb', line 1015

def checkpoint_task_number
  @checkpoint_task_number
end

#client_idString

Client that the execution snapshot is associated to. Corresponds to the JSON property clientId

Returns:

  • (String)


1020
1021
1022
# File 'lib/google/apis/integrations_v1/classes.rb', line 1020

def client_id
  @client_id
end

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

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



1025
1026
1027
# File 'lib/google/apis/integrations_v1/classes.rb', line 1025

def condition_results
  @condition_results
end

#diff_paramsGoogle::Apis::IntegrationsV1::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 Corresponds to the JSON property diffParams



1032
1033
1034
# File 'lib/google/apis/integrations_v1/classes.rb', line 1032

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)


1037
1038
1039
# File 'lib/google/apis/integrations_v1/classes.rb', line 1037

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)


1042
1043
1044
# File 'lib/google/apis/integrations_v1/classes.rb', line 1042

def event_execution_snapshot_id
  @event_execution_snapshot_id
end

#event_execution_snapshot_metadataGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata

Corresponds to the JSON property eventExecutionSnapshotMetadata



1047
1048
1049
# File 'lib/google/apis/integrations_v1/classes.rb', line 1047

def 
  @event_execution_snapshot_metadata
end

#event_paramsGoogle::Apis::IntegrationsV1::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 Corresponds to the JSON property eventParams



1054
1055
1056
# File 'lib/google/apis/integrations_v1/classes.rb', line 1054

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)


1059
1060
1061
# File 'lib/google/apis/integrations_v1/classes.rb', line 1059

def exceed_max_size
  @exceed_max_size
end

#snapshot_timeFixnum

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

Returns:

  • (Fixnum)


1065
1066
1067
# File 'lib/google/apis/integrations_v1/classes.rb', line 1065

def snapshot_time
  @snapshot_time
end

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

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



1070
1071
1072
# File 'lib/google/apis/integrations_v1/classes.rb', line 1070

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)


1075
1076
1077
# File 'lib/google/apis/integrations_v1/classes.rb', line 1075

def task_name
  @task_name
end

#workflow_nameString

Name of the workflow this event execution snapshot belongs to. Corresponds to the JSON property workflowName

Returns:

  • (String)


1080
1081
1082
# File 'lib/google/apis/integrations_v1/classes.rb', line 1080

def workflow_name
  @workflow_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
# File 'lib/google/apis/integrations_v1/classes.rb', line 1087

def update!(**args)
  @checkpoint_task_number = args[:checkpoint_task_number] if args.key?(:checkpoint_task_number)
  @client_id = args[:client_id] if args.key?(:client_id)
  @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)
  @workflow_name = args[:workflow_name] if args.key?(:workflow_name)
end