Class: Google::Apis::WorkflowexecutionsV1::Exception

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

Instance Method Summary collapse

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

#payloadString

Error message represented as a JSON string. Corresponds to the JSON property payload

Returns:

  • (String)


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