Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoExecutionTraceInfo

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

Message that helps aggregate all sub-executions triggered by one execution and keeps track of child-parent relationships.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoExecutionTraceInfo

Returns a new instance of EnterpriseCrmEventbusProtoExecutionTraceInfo.



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

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

Instance Attribute Details

#parent_event_execution_info_idString

Parent event execution info id that triggers the current execution through SubWorkflowExecutorTask. Corresponds to the JSON property parentEventExecutionInfoId

Returns:

  • (String)


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

def parent_event_execution_info_id
  @parent_event_execution_info_id
end

#trace_idString

Used to aggregate ExecutionTraceInfo. Corresponds to the JSON property traceId

Returns:

  • (String)


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

def trace_id
  @trace_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @parent_event_execution_info_id = args[:parent_event_execution_info_id] if args.key?(:parent_event_execution_info_id)
  @trace_id = args[:trace_id] if args.key?(:trace_id)
end