# Cloud Trace V2 API - Class Google::Cloud::Trace::V2::StackTrace::StackFrames (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.1 0.3.5 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

    def dropped_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=

    def dropped_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.

### #frame

    def frame() -> ::Array<::Google::Cloud::Trace::V2::StackTrace::StackFrame>

**Returns**

- (::Array\<[::Google::Cloud::Trace::V2::StackTrace::StackFrame](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-StackTrace-StackFrame)\>) --- Stack frames in this call stack.

### #frame=

    def frame=(value) -> ::Array<::Google::Cloud::Trace::V2::StackTrace::StackFrame>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Trace::V2::StackTrace::StackFrame](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-StackTrace-StackFrame)\>) --- Stack frames in this call stack.
**Returns**

- (::Array\<[::Google::Cloud::Trace::V2::StackTrace::StackFrame](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/Google-Cloud-Trace-V2-StackTrace-StackFrame)\>) --- Stack frames in this call stack.