Class: Google::Analytics::Data::V1alpha::Row

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/data/v1alpha/data.rb

Overview

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

"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:

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

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_values::Array<::Google::Analytics::Data::V1alpha::DimensionValue>

Returns List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.

Returns:



690
691
692
693
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 690

class Row
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#metric_values::Array<::Google::Analytics::Data::V1alpha::MetricValue>

Returns List of requested visible metric values.

Returns:



690
691
692
693
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 690

class Row
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end