Class: Google::Apis::WorkflowexecutionsV1::Exception
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1::Exception
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workflowexecutions_v1/classes.rb,
lib/google/apis/workflowexecutions_v1/representations.rb,
lib/google/apis/workflowexecutions_v1/representations.rb
Overview
Exception describes why the step entry failed.
Instance Attribute Summary collapse
-
#payload ⇒ String
Error message represented as a JSON string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Exception
constructor
A new instance of Exception.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Exception
Returns a new instance of Exception.
118 119 120 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ String
Error message represented as a JSON string.
Corresponds to the JSON property payload
116 117 118 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 116 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
123 124 125 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 123 def update!(**args) @payload = args[:payload] if args.key?(:payload) end |