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.
-
#config_parameters ⇒ Hash<String,Object>
Optional.
-
#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.
11134 11135 11136 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11134 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
11088 11089 11090 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11088 def client_id @client_id end |
#config_parameters ⇒ Hash<String,Object>
Optional. Config parameters used during integration execution.
Corresponds to the JSON property configParameters
11093 11094 11095 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11093 def config_parameters @config_parameters end |
#deadline_seconds_time ⇒ String
Optional. custom deadline of the rpc
Corresponds to the JSON property deadlineSecondsTime
11098 11099 11100 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11098 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
11103 11104 11105 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11103 def input_parameters @input_parameters end |
#integration_version ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion
The integration version definition.
Corresponds to the JSON property integrationVersion
11108 11109 11110 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11108 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
Corresponds to the JSON property parameters
11115 11116 11117 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11115 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
11123 11124 11125 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11123 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
11132 11133 11134 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11132 def trigger_id @trigger_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11139 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @config_parameters = args[:config_parameters] if args.key?(:config_parameters) @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 |