Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaErrorCatcherConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaErrorCatcherConfig

Returns a new instance of GoogleCloudIntegrationsV1alphaErrorCatcherConfig.



6170
6171
6172
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6170

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

Instance Attribute Details

#descriptionString

Optional. User-provided description intended to give more business context about the error catcher config. Corresponds to the JSON property description

Returns:

  • (String)


6139
6140
6141
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6139

def description
  @description
end

#error_catcher_idString

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

Returns:

  • (String)


6146
6147
6148
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6146

def error_catcher_id
  @error_catcher_id
end

#error_catcher_numberString

Required. A number to uniquely identify each error catcher config within the workflow on UI. Corresponds to the JSON property errorCatcherNumber

Returns:

  • (String)


6152
6153
6154
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6152

def error_catcher_number
  @error_catcher_number
end

#labelString

Optional. The user created label for a particular error catcher. Optional. Corresponds to the JSON property label

Returns:

  • (String)


6157
6158
6159
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6157

def label
  @label
end

#positionGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCoordinate

Configuration detail of coordinate, it used for UI Corresponds to the JSON property position



6162
6163
6164
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6162

def position
  @position
end

#start_error_tasksArray<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



6168
6169
6170
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6168

def start_error_tasks
  @start_error_tasks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6175
6176
6177
6178
6179
6180
6181
6182
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6175

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