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.
147 148 149 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ String
Error message represented as a JSON string.
Corresponds to the JSON property payload
145 146 147 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 145 def payload @payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
152 153 154 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 152 def update!(**args) @payload = args[:payload] if args.key?(:payload) end |