Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo

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 all the execution details for a workflow instance. Next available id: 24

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo.



3796
3797
3798
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3796

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

Instance Attribute Details

#client_idString

The event data user sends as request. Corresponds to the JSON property clientId

Returns:

  • (String)


3690
3691
3692
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3690

def client_id
  @client_id
end

#create_timeFixnum

Auto-generated. Corresponds to the JSON property createTime

Returns:

  • (Fixnum)


3695
3696
3697
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3695

def create_time
  @create_time
end

#error_codeGoogle::Apis::IntegrationsV1alpha::CrmlogErrorCode

Registered ids for errors, as "oneof" enums. Each task or logical grouping of tasks may share the same enum. Corresponds to the JSON property errorCode



3701
3702
3703
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3701

def error_code
  @error_code
end

#errorsArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoErrorDetail>

Errors, warnings, and informationals associated with the workflow/task. The order in which the errors were added by the workflow/task is maintained. Corresponds to the JSON property errors



3707
3708
3709
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3707

def errors
  @errors
end

#event_execution_detailsGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails

Contains the details of the execution info of this event: this includes the tasks execution details plus the event execution statistics. Next available id: 10 Corresponds to the JSON property eventExecutionDetails



3714
3715
3716
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3714

def event_execution_details
  @event_execution_details
end

#event_execution_info_idString

Auto-generated primary key. Corresponds to the JSON property eventExecutionInfoId

Returns:

  • (String)


3719
3720
3721
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3719

def event_execution_info_id
  @event_execution_info_id
end

#execution_trace_infoGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoExecutionTraceInfo

Message that helps aggregate all sub-executions triggered by one execution and keeps track of child-parent relationships. Corresponds to the JSON property executionTraceInfo



3725
3726
3727
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3725

def execution_trace_info
  @execution_trace_info
end

#last_modified_timeFixnum

Auto-generated. Corresponds to the JSON property lastModifiedTime

Returns:

  • (Fixnum)


3730
3731
3732
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3730

def last_modified_time
  @last_modified_time
end

#post_methodString

The ways user posts this event. Corresponds to the JSON property postMethod

Returns:

  • (String)


3735
3736
3737
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3735

def post_method
  @post_method
end

#productString

Which Google product the execution_info belongs to. If not set, the execution_info belongs to Integration Platform by default. Corresponds to the JSON property product

Returns:

  • (String)


3741
3742
3743
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3741

def product
  @product
end

#request_idString

Optional. This is used to de-dup incoming request. Corresponds to the JSON property requestId

Returns:

  • (String)


3746
3747
3748
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3746

def request_id
  @request_id
end

#request_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 requestParams



3753
3754
3755
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3753

def request_params
  @request_params
end

#response_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 responseParams



3760
3761
3762
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3760

def response_params
  @response_params
end

#snapshot_numberFixnum

Workflow snapshot number. Corresponds to the JSON property snapshotNumber

Returns:

  • (Fixnum)


3765
3766
3767
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3765

def snapshot_number
  @snapshot_number
end

#tenantString

Tenant this event is created. Used to reschedule the event to correct tenant. Corresponds to the JSON property tenant

Returns:

  • (String)


3770
3771
3772
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3770

def tenant
  @tenant
end

#trigger_idString

The trigger id of the workflow trigger config. If both trigger_id and client_id is present, the workflow is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks. Corresponds to the JSON property triggerId

Returns:

  • (String)


3778
3779
3780
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3778

def trigger_id
  @trigger_id
end

#workflow_idString

Required. Pointer to the workflow it is executing. Corresponds to the JSON property workflowId

Returns:

  • (String)


3783
3784
3785
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3783

def workflow_id
  @workflow_id
end

#workflow_nameString

Name of the workflow. Corresponds to the JSON property workflowName

Returns:

  • (String)


3788
3789
3790
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3788

def workflow_name
  @workflow_name
end

#workflow_retry_backoff_interval_secondsFixnum

Time interval in seconds to schedule retry of workflow in manifold when workflow is already running Corresponds to the JSON property workflowRetryBackoffIntervalSeconds

Returns:

  • (Fixnum)


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

def workflow_retry_backoff_interval_seconds
  @workflow_retry_backoff_interval_seconds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3801

def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @create_time = args[:create_time] if args.key?(:create_time)
  @error_code = args[:error_code] if args.key?(:error_code)
  @errors = args[:errors] if args.key?(:errors)
  @event_execution_details = args[:event_execution_details] if args.key?(:event_execution_details)
  @event_execution_info_id = args[:event_execution_info_id] if args.key?(:event_execution_info_id)
  @execution_trace_info = args[:execution_trace_info] if args.key?(:execution_trace_info)
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
  @post_method = args[:post_method] if args.key?(:post_method)
  @product = args[:product] if args.key?(:product)
  @request_id = args[:request_id] if args.key?(:request_id)
  @request_params = args[:request_params] if args.key?(:request_params)
  @response_params = args[:response_params] if args.key?(:response_params)
  @snapshot_number = args[:snapshot_number] if args.key?(:snapshot_number)
  @tenant = args[:tenant] if args.key?(:tenant)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
  @workflow_id = args[:workflow_id] if args.key?(:workflow_id)
  @workflow_name = args[:workflow_name] if args.key?(:workflow_name)
  @workflow_retry_backoff_interval_seconds = args[:workflow_retry_backoff_interval_seconds] if args.key?(:workflow_retry_backoff_interval_seconds)
end