Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoRollbackStrategy
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoRollbackStrategy
- 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
Next available id: 4
Instance Attribute Summary collapse
-
#parameters ⇒ Google::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.
-
#rollback_task_implementation_class_name ⇒ String
Required.
-
#task_numbers_to_rollback ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoRollbackStrategy
constructor
A new instance of EnterpriseCrmFrontendsEventbusProtoRollbackStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoRollbackStrategy
Returns a new instance of EnterpriseCrmFrontendsEventbusProtoRollbackStrategy.
4130 4131 4132 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parameters ⇒ Google::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 go/integration-platform/event_bus.md for more details. Next id: 4
Corresponds to the JSON property parameters
4115 4116 4117 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4115 def parameters @parameters end |
#rollback_task_implementation_class_name ⇒ String
Required. This is the name of the task that needs to be executed upon rollback
of this task.
Corresponds to the JSON property rollbackTaskImplementationClassName
4121 4122 4123 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4121 def rollback_task_implementation_class_name @rollback_task_implementation_class_name end |
#task_numbers_to_rollback ⇒ Array<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
4128 4129 4130 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4128 def task_numbers_to_rollback @task_numbers_to_rollback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4135 4136 4137 4138 4139 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4135 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 |