Class: Google::Apis::ToolresultsV1::StackTrace

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

Overview

A stacktrace.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StackTrace

Returns a new instance of StackTrace.



531
532
533
# File 'generated/google/apis/toolresults_v1/classes.rb', line 531

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

Instance Attribute Details

#exceptionString

The stack trace message. Required Corresponds to the JSON property exception

Returns:

  • (String)


529
530
531
# File 'generated/google/apis/toolresults_v1/classes.rb', line 529

def exception
  @exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



536
537
538
# File 'generated/google/apis/toolresults_v1/classes.rb', line 536

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