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.



210
211
212
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 210

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



208
209
210
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 208

def elements
  @elements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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