Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest

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

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.



6006
6007
6008
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6006

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)


5967
5968
5969
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5967

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)


5973
5974
5975
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5973

def execution_id
  @execution_id
end

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

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



5978
5979
5980
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5978

def input_parameters
  @input_parameters
end

#parameter_entriesArray<Google::Apis::IntegrationsV1alpha::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



5984
5985
5986
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5984

def parameter_entries
  @parameter_entries
end

#parametersGoogle::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 Corresponds to the JSON property parameters



5991
5992
5993
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5991

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)


5997
5998
5999
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5997

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)


6004
6005
6006
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6004

def trigger_id
  @trigger_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6011
6012
6013
6014
6015
6016
6017
6018
6019
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6011

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