# Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::PivotHeader (v0.4.3)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.4.3 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-PivotHeader)
- [0.4.2](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/0.4.2/Google-Analytics-Data-V1beta-PivotHeader)
Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::PivotHeader.

Dimensions' values in a single pivot.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #pivot_dimension_headers

    def pivot_dimension_headers() -> ::Array<::Google::Analytics::Data::V1beta::PivotDimensionHeader>

**Returns**

- (::Array\<[::Google::Analytics::Data::V1beta::PivotDimensionHeader](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-PivotDimensionHeader)\>) --- The size is the same as the cardinality of the corresponding dimension combinations.

### #pivot_dimension_headers=

    def pivot_dimension_headers=(value) -> ::Array<::Google::Analytics::Data::V1beta::PivotDimensionHeader>

**Parameter**

- **value** (::Array\<[::Google::Analytics::Data::V1beta::PivotDimensionHeader](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-PivotDimensionHeader)\>) --- The size is the same as the cardinality of the corresponding dimension combinations.
**Returns**

- (::Array\<[::Google::Analytics::Data::V1beta::PivotDimensionHeader](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-PivotDimensionHeader)\>) --- The size is the same as the cardinality of the corresponding dimension combinations.

### #row_count

    def row_count() -> ::Integer

**Returns**

- (::Integer) --- The cardinality of the pivot. The total number of rows for this pivot's fields regardless of how the parameters `offset` and `limit` are specified in the request.

### #row_count=

    def row_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The cardinality of the pivot. The total number of rows for this pivot's fields regardless of how the parameters `offset` and `limit` are specified in the request.
**Returns**

- (::Integer) --- The cardinality of the pivot. The total number of rows for this pivot's fields regardless of how the parameters `offset` and `limit` are specified in the request.