Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest

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

The request for executing an integration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest.



7647
7648
7649
# File 'lib/google/apis/integrations_v1/classes.rb', line 7647

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

Instance Attribute Details

#do_not_propagate_errorBoolean Also known as: do_not_propagate_error?

Optional. Flag to determine how to should propagate errors. If this flag is set to be true, it will not throw an exception. Instead, it will return a @ link ExecuteIntegrationsResponse with an execution id and error messages as PostWithTriggerIdExecutionException in @link EventParameters. The flag is set to be false by default. Corresponds to the JSON property doNotPropagateError

Returns:

  • (Boolean)


7608
7609
7610
# File 'lib/google/apis/integrations_v1/classes.rb', line 7608

def do_not_propagate_error
  @do_not_propagate_error
end

#execution_idString

Optional. The id of the ON_HOLD execution to be resumed. Corresponds to the JSON property executionId

Returns:

  • (String)


7614
7615
7616
# File 'lib/google/apis/integrations_v1/classes.rb', line 7614

def execution_id
  @execution_id
end

#input_parametersHash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>

Optional. Input parameters used by integration execution. Corresponds to the JSON property inputParameters



7619
7620
7621
# File 'lib/google/apis/integrations_v1/classes.rb', line 7619

def input_parameters
  @input_parameters
end

#parameter_entriesArray<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>

Optional. Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution. Corresponds to the JSON property parameterEntries



7625
7626
7627
# File 'lib/google/apis/integrations_v1/classes.rb', line 7625

def parameter_entries
  @parameter_entries
end

#parametersGoogle::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 parameters



7632
7633
7634
# File 'lib/google/apis/integrations_v1/classes.rb', line 7632

def parameters
  @parameters
end

#request_idString

Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned. Corresponds to the JSON property requestId

Returns:

  • (String)


7638
7639
7640
# File 'lib/google/apis/integrations_v1/classes.rb', line 7638

def request_id
  @request_id
end

#trigger_idString

Required. Matched against all @link TriggerConfigs across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id). The trigger_id is in the format of api_trigger/TRIGGER_NAME. Corresponds to the JSON property triggerId

Returns:

  • (String)


7645
7646
7647
# File 'lib/google/apis/integrations_v1/classes.rb', line 7645

def trigger_id
  @trigger_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7652
7653
7654
7655
7656
7657
7658
7659
7660
# File 'lib/google/apis/integrations_v1/classes.rb', line 7652

def update!(**args)
  @do_not_propagate_error = args[:do_not_propagate_error] if args.key?(:do_not_propagate_error)
  @execution_id = args[:execution_id] if args.key?(:execution_id)
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
  @parameter_entries = args[:parameter_entries] if args.key?(:parameter_entries)
  @parameters = args[:parameters] if args.key?(:parameters)
  @request_id = args[:request_id] if args.key?(:request_id)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
end