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.



536
537
538
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 536

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



534
535
536
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 534

def elements
  @elements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



541
542
543
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 541

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