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.



147
148
149
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 147

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)


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