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.



6154
6155
6156
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6154

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)


6115
6116
6117
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6115

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)


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

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



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

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



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

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



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

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)


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

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)


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

def trigger_id
  @trigger_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6159
6160
6161
6162
6163
6164
6165
6166
6167
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6159

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