Class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoRollbackStrategy

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

Next available id: 4

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoRollbackStrategy

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoRollbackStrategy.



4425
4426
4427
# File 'lib/google/apis/integrations_v1/classes.rb', line 4425

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

Instance Attribute Details

#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 Corresponds to the JSON property parameters



4410
4411
4412
# File 'lib/google/apis/integrations_v1/classes.rb', line 4410

def parameters
  @parameters
end

#rollback_task_implementation_class_nameString

Required. This is the name of the task that needs to be executed upon rollback of this task. Corresponds to the JSON property rollbackTaskImplementationClassName

Returns:

  • (String)


4416
4417
4418
# File 'lib/google/apis/integrations_v1/classes.rb', line 4416

def rollback_task_implementation_class_name
  @rollback_task_implementation_class_name
end

#task_numbers_to_rollbackArray<String>

Required. These are the tasks numbers of the tasks whose rollback_strategy. rollback_task_implementation_class_name needs to be executed upon failure of this task. Corresponds to the JSON property taskNumbersToRollback

Returns:

  • (Array<String>)


4423
4424
4425
# File 'lib/google/apis/integrations_v1/classes.rb', line 4423

def task_numbers_to_rollback
  @task_numbers_to_rollback
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4430
4431
4432
4433
4434
# File 'lib/google/apis/integrations_v1/classes.rb', line 4430

def update!(**args)
  @parameters = args[:parameters] if args.key?(:parameters)
  @rollback_task_implementation_class_name = args[:rollback_task_implementation_class_name] if args.key?(:rollback_task_implementation_class_name)
  @task_numbers_to_rollback = args[:task_numbers_to_rollback] if args.key?(:task_numbers_to_rollback)
end