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.



6263
6264
6265
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6263

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)


6224
6225
6226
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6224

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)


6230
6231
6232
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6230

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



6235
6236
6237
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6235

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



6241
6242
6243
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6241

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



6248
6249
6250
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6248

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)


6254
6255
6256
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6254

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)


6261
6262
6263
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6261

def trigger_id
  @trigger_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6268
6269
6270
6271
6272
6273
6274
6275
6276
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6268

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