Class: Google::Analytics::Data::V1beta::Row

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/data/v1beta/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::V1beta::DimensionValue>

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

Returns:



868
869
870
871
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 868

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

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

Returns List of requested visible metric values.

Returns:



868
869
870
871
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 868

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