Class: Google::Apis::WorkflowexecutionsV1beta::StackTrace

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workflowexecutions_v1beta/classes.rb,
lib/google/apis/workflowexecutions_v1beta/representations.rb,
lib/google/apis/workflowexecutions_v1beta/representations.rb

Overview

A collection of stack elements (frames) where an error occurred.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StackTrace

Returns a new instance of StackTrace.



216
217
218
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 216

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#elementsArray<Google::Apis::WorkflowexecutionsV1beta::StackTraceElement>

An array of stack elements. Corresponds to the JSON property elements



214
215
216
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 214

def elements
  @elements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



221
222
223
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 221

def update!(**args)
  @elements = args[:elements] if args.key?(:elements)
end