Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
- 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 testing an integration.
Instance Attribute Summary collapse
-
#client_id ⇒ String
Required.
-
#deadline_seconds_time ⇒ String
Optional.
-
#input_parameters ⇒ Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>
Optional.
-
#integration_version ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
The integration version definition.
-
#parameters ⇒ Google::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.
-
#test_mode ⇒ Boolean
(also: #test_mode?)
Optional.
-
#trigger_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
constructor
A new instance of GoogleCloudIntegrationsV1alphaTestIntegrationsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTestIntegrationsRequest
Returns a new instance of GoogleCloudIntegrationsV1alphaTestIntegrationsRequest.
9227 9228 9229 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
Required. This is used to identify the client on whose behalf the event will
be executed.
Corresponds to the JSON property clientId
9186 9187 9188 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9186 def client_id @client_id end |
#deadline_seconds_time ⇒ String
Optional. custom deadline of the rpc
Corresponds to the JSON property deadlineSecondsTime
9191 9192 9193 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9191 def deadline_seconds_time @deadline_seconds_time end |
#input_parameters ⇒ Hash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>
Optional. Input parameters used during integration execution.
Corresponds to the JSON property inputParameters
9196 9197 9198 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9196 def input_parameters @input_parameters end |
#integration_version ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
The integration version definition.
Corresponds to the JSON property integrationVersion
9201 9202 9203 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9201 def integration_version @integration_version end |
#parameters ⇒ Google::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 go/integration-platform/event_bus.md for more details. Next id: 4
Corresponds to the JSON property parameters
9208 9209 9210 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9208 def parameters @parameters end |
#test_mode ⇒ Boolean Also known as: test_mode?
Optional. Can be specified in the event request, otherwise false (default). If
true, enables tasks with condition "test_mode = true". If false, disables
tasks with condition "test_mode = true" if global test mode (set by platform)
is also false @link EventBusConfig.
Corresponds to the JSON property testMode
9216 9217 9218 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9216 def test_mode @test_mode end |
#trigger_id ⇒ String
Required. The trigger id of the integration trigger config. If both trigger_id
and client_id is present, the integration is executed from the start tasks
provided by the matching trigger config otherwise it is executed from the
default start tasks.
Corresponds to the JSON property triggerId
9225 9226 9227 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9225 def trigger_id @trigger_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9232 9233 9234 9235 9236 9237 9238 9239 9240 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9232 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @deadline_seconds_time = args[:deadline_seconds_time] if args.key?(:deadline_seconds_time) @input_parameters = args[:input_parameters] if args.key?(:input_parameters) @integration_version = args[:integration_version] if args.key?(:integration_version) @parameters = args[:parameters] if args.key?(:parameters) @test_mode = args[:test_mode] if args.key?(:test_mode) @trigger_id = args[:trigger_id] if args.key?(:trigger_id) end |