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.



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

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



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

def elements
  @elements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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