Class: Google::Apis::WorkflowexecutionsV1::StackTrace

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

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.



294
295
296
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 294

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

Instance Attribute Details

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

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



292
293
294
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 292

def elements
  @elements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



299
300
301
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 299

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