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_catcher_id ⇒ String
Required.
-
#error_catcher_number ⇒ String
Required.
-
#label ⇒ String
Optional.
-
#position ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCoordinate
Configuration detail of coordinate, it used for UI Corresponds to the JSON property
position. -
#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.
6338 6339 6340 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6338 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
6307 6308 6309 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6307 def description @description end |
#error_catcher_id ⇒ String
Required. An error catcher id is string representation for the error catcher
config. Within a workflow, error_catcher_id uniquely identifies an error
catcher config among all error catcher configs for the workflow
Corresponds to the JSON property errorCatcherId
6314 6315 6316 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6314 def error_catcher_id @error_catcher_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
6320 6321 6322 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6320 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
6325 6326 6327 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6325 def label @label end |
#position ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCoordinate
Configuration detail of coordinate, it used for UI
Corresponds to the JSON property position
6330 6331 6332 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6330 def position @position 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
6336 6337 6338 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6336 def start_error_tasks @start_error_tasks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6343 6344 6345 6346 6347 6348 6349 6350 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6343 def update!(**args) @description = args[:description] if args.key?(:description) @error_catcher_id = args[:error_catcher_id] if args.key?(:error_catcher_id) @error_catcher_number = args[:error_catcher_number] if args.key?(:error_catcher_number) @label = args[:label] if args.key?(:label) @position = args[:position] if args.key?(:position) @start_error_tasks = args[:start_error_tasks] if args.key?(:start_error_tasks) end |