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.



6160
6161
6162
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6160

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)


6121
6122
6123
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6121

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)


6127
6128
6129
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6127

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



6132
6133
6134
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6132

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



6138
6139
6140
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6138

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 go/integration-platform/event_bus.md for more details. Next id: 4 Corresponds to the JSON property parameters



6145
6146
6147
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6145

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)


6151
6152
6153
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6151

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)


6158
6159
6160
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6158

def trigger_id
  @trigger_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6165
6166
6167
6168
6169
6170
6171
6172
6173
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6165

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