Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaErrorCatcherConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaErrorCatcherConfig
- 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
Configuration detail of a error catch task
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#error_catch_id ⇒ String
Required.
-
#error_catcher_number ⇒ String
Required.
-
#label ⇒ String
Optional.
-
#start_error_tasks ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaNextTask>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaErrorCatcherConfig
constructor
A new instance of GoogleCloudIntegrationsV1alphaErrorCatcherConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaErrorCatcherConfig
Returns a new instance of GoogleCloudIntegrationsV1alphaErrorCatcherConfig.
6062 6063 6064 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6062 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. User-provided description intended to give more business context
about the error catcher config.
Corresponds to the JSON property description
6036 6037 6038 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6036 def description @description end |
#error_catch_id ⇒ String
Required. An error catcher id is string representation for the error catcher
config. Within a workflow, error_catch_id uniquely identifies an error catcher
config among all error catcher configs for the workflow
Corresponds to the JSON property errorCatchId
6043 6044 6045 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6043 def error_catch_id @error_catch_id end |
#error_catcher_number ⇒ String
Required. A number to uniquely identify each error catcher config within the
workflow on UI.
Corresponds to the JSON property errorCatcherNumber
6049 6050 6051 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6049 def error_catcher_number @error_catcher_number end |
#label ⇒ String
Optional. The user created label for a particular error catcher. Optional.
Corresponds to the JSON property label
6054 6055 6056 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6054 def label @label end |
#start_error_tasks ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaNextTask>
Required. The set of start tasks that are to be executed for the error catch
flow
Corresponds to the JSON property startErrorTasks
6060 6061 6062 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6060 def start_error_tasks @start_error_tasks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6067 6068 6069 6070 6071 6072 6073 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6067 def update!(**args) @description = args[:description] if args.key?(:description) @error_catch_id = args[:error_catch_id] if args.key?(:error_catch_id) @error_catcher_number = args[:error_catcher_number] if args.key?(:error_catcher_number) @label = args[:label] if args.key?(:label) @start_error_tasks = args[:start_error_tasks] if args.key?(:start_error_tasks) end |