Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::StackTrace::StackFrames.
A collection of stack frames, which can be truncated.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#dropped_frames_count
defdropped_frames_count()->::Integer
Returns
(::Integer) — 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.
#dropped_frames_count=
defdropped_frames_count=(value)->::Integer
Parameter
value (::Integer) — 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.
Returns
(::Integer) — 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Trace V2 API - Class Google::Cloud::Trace::V2::StackTrace::StackFrames (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [1.2.1](/ruby/docs/reference/google-cloud-trace-v2/1.2.1/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [1.1.0](/ruby/docs/reference/google-cloud-trace-v2/1.1.0/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [1.0.1](/ruby/docs/reference/google-cloud-trace-v2/1.0.1/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [0.9.0](/ruby/docs/reference/google-cloud-trace-v2/0.9.0/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [0.8.2](/ruby/docs/reference/google-cloud-trace-v2/0.8.2/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [0.7.0](/ruby/docs/reference/google-cloud-trace-v2/0.7.0/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [0.6.1](/ruby/docs/reference/google-cloud-trace-v2/0.6.1/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [0.5.0](/ruby/docs/reference/google-cloud-trace-v2/0.5.0/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [0.4.1](/ruby/docs/reference/google-cloud-trace-v2/0.4.1/Google-Cloud-Trace-V2-StackTrace-StackFrames)\n- [0.3.5](/ruby/docs/reference/google-cloud-trace-v2/0.3.5/Google-Cloud-Trace-V2-StackTrace-StackFrames) \nReference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::StackTrace::StackFrames.\n\nA collection of stack frames, which can be truncated. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #dropped_frames_count\n\n def dropped_frames_count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- 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.\n\n### #dropped_frames_count=\n\n def dropped_frames_count=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- 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. \n**Returns**\n\n- (::Integer) --- 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.\n\n### #frame\n\n def frame() -\u003e ::Array\u003c::Google::Cloud::Trace::V2::StackTrace::StackFrame\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Trace::V2::StackTrace::StackFrame](./Google-Cloud-Trace-V2-StackTrace-StackFrame)\\\u003e) --- Stack frames in this call stack.\n\n### #frame=\n\n def frame=(value) -\u003e ::Array\u003c::Google::Cloud::Trace::V2::StackTrace::StackFrame\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::Trace::V2::StackTrace::StackFrame](./Google-Cloud-Trace-V2-StackTrace-StackFrame)\\\u003e) --- Stack frames in this call stack. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::Trace::V2::StackTrace::StackFrame](./Google-Cloud-Trace-V2-StackTrace-StackFrame)\\\u003e) --- Stack frames in this call stack."]]