# Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::Row (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-Row)
- [0.4.2](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/0.4.2/Google-Analytics-Data-V1beta-Row)
Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::Row.

Report data for each row.
For example if RunReportRequest contains:


`none
"dimensions": [
{
"name": "eventName"
},
{
"name": "countryId"
}
],
"metrics": [
{
"name": "eventCount"
}
]
`

One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and
15 as the eventCount, would be:

<br />

`none
"dimensionValues": [
{
"value": "in_app_purchase"
},
{
"value": "JP"
}
],
"metricValues": [
{
"value": "15"
}
]
`

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dimension_values

    def dimension_values() -> ::Array<::Google::Analytics::Data::V1beta::DimensionValue>

**Returns**

- (::Array\<[::Google::Analytics::Data::V1beta::DimensionValue](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-DimensionValue)\>) --- List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.

### #dimension_values=

    def dimension_values=(value) -> ::Array<::Google::Analytics::Data::V1beta::DimensionValue>

**Parameter**

- **value** (::Array\<[::Google::Analytics::Data::V1beta::DimensionValue](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-DimensionValue)\>) --- List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.
**Returns**

- (::Array\<[::Google::Analytics::Data::V1beta::DimensionValue](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-DimensionValue)\>) --- List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.

### #metric_values

    def metric_values() -> ::Array<::Google::Analytics::Data::V1beta::MetricValue>

**Returns**

- (::Array\<[::Google::Analytics::Data::V1beta::MetricValue](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-MetricValue)\>) --- List of requested visible metric values.

### #metric_values=

    def metric_values=(value) -> ::Array<::Google::Analytics::Data::V1beta::MetricValue>

**Parameter**

- **value** (::Array\<[::Google::Analytics::Data::V1beta::MetricValue](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-MetricValue)\>) --- List of requested visible metric values.
**Returns**

- (::Array\<[::Google::Analytics::Data::V1beta::MetricValue](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-MetricValue)\>) --- List of requested visible metric values.