Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTestIntegrationsResponse

Inherits:
Object
  • Object
show all
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 response for testing an integration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTestIntegrationsResponse

Returns a new instance of GoogleCloudIntegrationsV1alphaTestIntegrationsResponse.



9277
9278
9279
# File 'lib/google/apis/integrations_v1/classes.rb', line 9277

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#event_parametersGoogle::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 eventParameters



9252
9253
9254
# File 'lib/google/apis/integrations_v1/classes.rb', line 9252

def event_parameters
  @event_parameters
end

#execution_failedBoolean Also known as: execution_failed?

Is true if any execution in the integration failed. False otherwise. Corresponds to the JSON property executionFailed

Returns:

  • (Boolean)


9257
9258
9259
# File 'lib/google/apis/integrations_v1/classes.rb', line 9257

def execution_failed
  @execution_failed
end

#execution_idString

The id of the execution corresponding to this run of integration. Corresponds to the JSON property executionId

Returns:

  • (String)


9263
9264
9265
# File 'lib/google/apis/integrations_v1/classes.rb', line 9263

def execution_id
  @execution_id
end

#parameter_entriesArray<Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry>

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



9269
9270
9271
# File 'lib/google/apis/integrations_v1/classes.rb', line 9269

def parameter_entries
  @parameter_entries
end

#parametersHash<String,Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType>

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 parameters



9275
9276
9277
# File 'lib/google/apis/integrations_v1/classes.rb', line 9275

def parameters
  @parameters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9282
9283
9284
9285
9286
9287
9288
# File 'lib/google/apis/integrations_v1/classes.rb', line 9282

def update!(**args)
  @event_parameters = args[:event_parameters] if args.key?(:event_parameters)
  @execution_failed = args[:execution_failed] if args.key?(:execution_failed)
  @execution_id = args[:execution_id] if args.key?(:execution_id)
  @parameter_entries = args[:parameter_entries] if args.key?(:parameter_entries)
  @parameters = args[:parameters] if args.key?(:parameters)
end