Class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo.



3868
3869
3870
# File 'lib/google/apis/integrations_v1/classes.rb', line 3868

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)


3743
3744
3745
# File 'lib/google/apis/integrations_v1/classes.rb', line 3743

def client_id
  @client_id
end

#cloud_logging_detailsGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoCloudLoggingDetails

Cloud Logging details, selected by the user for the integration version ( workflow). This message field will be also used in ExecutionInfo, to indicate the CloudLoggingDetails config at the time of workflow (integration version) execution, since this field value can be changed for an unpublished workflow. Corresponds to the JSON property cloudLoggingDetails



3751
3752
3753
# File 'lib/google/apis/integrations_v1/classes.rb', line 3751

def cloud_logging_details
  @cloud_logging_details
end

#create_timeFixnum

Auto-generated. Corresponds to the JSON property createTime

Returns:

  • (Fixnum)


3756
3757
3758
# File 'lib/google/apis/integrations_v1/classes.rb', line 3756

def create_time
  @create_time
end

#error_codeGoogle::Apis::IntegrationsV1::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



3762
3763
3764
# File 'lib/google/apis/integrations_v1/classes.rb', line 3762

def error_code
  @error_code
end

#errorsArray<Google::Apis::IntegrationsV1::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



3768
3769
3770
# File 'lib/google/apis/integrations_v1/classes.rb', line 3768

def errors
  @errors
end

#event_execution_detailsGoogle::Apis::IntegrationsV1::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: 12 Corresponds to the JSON property eventExecutionDetails



3775
3776
3777
# File 'lib/google/apis/integrations_v1/classes.rb', line 3775

def event_execution_details
  @event_execution_details
end

#event_execution_info_idString

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

Returns:

  • (String)


3780
3781
3782
# File 'lib/google/apis/integrations_v1/classes.rb', line 3780

def event_execution_info_id
  @event_execution_info_id
end

#execution_trace_infoGoogle::Apis::IntegrationsV1::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



3786
3787
3788
# File 'lib/google/apis/integrations_v1/classes.rb', line 3786

def execution_trace_info
  @execution_trace_info
end

#integration_version_user_labelString

User-defined label that annotates the executed integration version. Corresponds to the JSON property integrationVersionUserLabel

Returns:

  • (String)


3791
3792
3793
# File 'lib/google/apis/integrations_v1/classes.rb', line 3791

def integration_version_user_label
  @integration_version_user_label
end

#last_modified_timeFixnum

Auto-generated. Corresponds to the JSON property lastModifiedTime

Returns:

  • (Fixnum)


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

def last_modified_time
  @last_modified_time
end

#post_methodString

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

Returns:

  • (String)


3801
3802
3803
# File 'lib/google/apis/integrations_v1/classes.rb', line 3801

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)


3807
3808
3809
# File 'lib/google/apis/integrations_v1/classes.rb', line 3807

def product
  @product
end

#replay_infoGoogle::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo

Contains the details of the execution info: this includes the replay reason and replay tree connecting executions in a parent-child relationship Corresponds to the JSON property replayInfo



3813
3814
3815
# File 'lib/google/apis/integrations_v1/classes.rb', line 3813

def replay_info
  @replay_info
end

#request_idString

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

Returns:

  • (String)


3818
3819
3820
# File 'lib/google/apis/integrations_v1/classes.rb', line 3818

def request_id
  @request_id
end

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



3825
3826
3827
# File 'lib/google/apis/integrations_v1/classes.rb', line 3825

def request_params
  @request_params
end

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



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

def response_params
  @response_params
end

#snapshot_numberFixnum

Workflow snapshot number. Corresponds to the JSON property snapshotNumber

Returns:

  • (Fixnum)


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

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)


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

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)


3850
3851
3852
# File 'lib/google/apis/integrations_v1/classes.rb', line 3850

def trigger_id
  @trigger_id
end

#workflow_idString

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

Returns:

  • (String)


3855
3856
3857
# File 'lib/google/apis/integrations_v1/classes.rb', line 3855

def workflow_id
  @workflow_id
end

#workflow_nameString

Name of the workflow. Corresponds to the JSON property workflowName

Returns:

  • (String)


3860
3861
3862
# File 'lib/google/apis/integrations_v1/classes.rb', line 3860

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)


3866
3867
3868
# File 'lib/google/apis/integrations_v1/classes.rb', line 3866

def workflow_retry_backoff_interval_seconds
  @workflow_retry_backoff_interval_seconds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
# File 'lib/google/apis/integrations_v1/classes.rb', line 3873

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