Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::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:
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::V1alpha::DimensionValue>
- (::Array<::Google::Analytics::Data::V1alpha::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::V1alpha::DimensionValue>
- value (::Array<::Google::Analytics::Data::V1alpha::DimensionValue>) — List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.
- (::Array<::Google::Analytics::Data::V1alpha::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::V1alpha::MetricValue>
- (::Array<::Google::Analytics::Data::V1alpha::MetricValue>) — List of requested visible metric values.
#metric_values=
def metric_values=(value) -> ::Array<::Google::Analytics::Data::V1alpha::MetricValue>
- value (::Array<::Google::Analytics::Data::V1alpha::MetricValue>) — List of requested visible metric values.
- (::Array<::Google::Analytics::Data::V1alpha::MetricValue>) — List of requested visible metric values.