ReportRow

  • Each report row contains a map of dimension values and a map of metric values.

  • DimensionValue represents a dimension value with a raw value and an optional localized display label.

  • MetricValue represents a metric value which can be an integer, double, or a value in micros.

A row of the returning report.

JSON representation
{
  "dimensionValues": {
    string: {
      object (DimensionValue)
    },
    ...
  },
  "metricValues": {
    string: {
      object (MetricValue)
    },
    ...
  }
}
Fields
dimensionValues

map (key: string, value: object (DimensionValue))

Map of dimension values in a row, with keys as enum name of the dimensions.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

metricValues

map (key: string, value: object (MetricValue))

Map of metric values in a row, with keys as enum name of the metrics. If a metric being requested has no value returned, the map will not include it.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

DimensionValue

Representation of a dimension value.

JSON representation
{
  "value": string,
  "displayLabel": string
}
Fields
value

string

Dimension value in the format specified in the report's spec Dimension enum.

displayLabel

string

The localized string representation of the value. If unspecified, the display label should be derived from the value.

MetricValue

Representation of a metric value.

JSON representation
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "integerValue": string,
  "doubleValue": number,
  "microsValue": string
  // End of mutually exclusive fields.
}
Fields
Metric value in the format specified in the report's spec Metric enum name. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
integerValue

string (int64 format)

Metric integer value.

doubleValue

number

Double precision (approximate) decimal values. Rates are from 0 to 1.

microsValue

string (int64 format)

Amount in micros. One million is equivalent to one unit. Currency value is in the unit (USD, EUR or other) specified by the request. For example, $6.50 whould be represented as 6500000 micros.

End of mutually exclusive fields.