Class: Google::Apis::CloudtraceV2::StackFrames
- Inherits:
-
Object
- Object
- Google::Apis::CloudtraceV2::StackFrames
- Defined in:
- generated/google/apis/cloudtrace_v2/classes.rb,
generated/google/apis/cloudtrace_v2/representations.rb,
generated/google/apis/cloudtrace_v2/representations.rb
Overview
A collection of stack frames, which can be truncated.
Instance Attribute Summary collapse
-
#dropped_frames_count ⇒ Fixnum
The number of stack frames that were dropped because there were too many stack frames.
-
#frame ⇒ Array<Google::Apis::CloudtraceV2::StackFrame>
Stack frames in this call stack.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StackFrames
constructor
A new instance of StackFrames.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StackFrames
Returns a new instance of StackFrames
567 568 569 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dropped_frames_count ⇒ Fixnum
The number of stack frames that were dropped because there
were too many stack frames.
If this value is 0, then no stack frames were dropped.
Corresponds to the JSON property droppedFramesCount
560 561 562 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 560 def dropped_frames_count @dropped_frames_count end |
#frame ⇒ Array<Google::Apis::CloudtraceV2::StackFrame>
Stack frames in this call stack.
Corresponds to the JSON property frame
565 566 567 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 565 def frame @frame end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
572 573 574 575 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 572 def update!(**args) @dropped_frames_count = args[:dropped_frames_count] if args.key?(:dropped_frames_count) @frame = args[:frame] if args.key?(:frame) end |