Class: Google::Apis::ServicemanagementV1::FlowErrorDetails
- Inherits:
-
Object
- Object
- Google::Apis::ServicemanagementV1::FlowErrorDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicemanagement_v1/classes.rb,
lib/google/apis/servicemanagement_v1/representations.rb,
lib/google/apis/servicemanagement_v1/representations.rb
Overview
Encapsulation of flow-specific error details for debugging. Used as a details field on an error Status, not intended for external use.
Instance Attribute Summary collapse
-
#exception_type ⇒ String
The type of exception (as a class name).
-
#flow_step_id ⇒ String
The step that failed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FlowErrorDetails
constructor
A new instance of FlowErrorDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FlowErrorDetails
Returns a new instance of FlowErrorDetails.
1767 1768 1769 |
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1767 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exception_type ⇒ String
The type of exception (as a class name).
Corresponds to the JSON property exceptionType
1760 1761 1762 |
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1760 def exception_type @exception_type end |
#flow_step_id ⇒ String
The step that failed.
Corresponds to the JSON property flowStepId
1765 1766 1767 |
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1765 def flow_step_id @flow_step_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1772 1773 1774 1775 |
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1772 def update!(**args) @exception_type = args[:exception_type] if args.key?(:exception_type) @flow_step_id = args[:flow_step_id] if args.key?(:flow_step_id) end |