ReportRow
Stay organized with collections
Save and categorize content based on your preferences.
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 |
{
// Union field value can be only one of the following:
"integerValue": string,
"doubleValue": number,
"microsValue": string
// End of list of possible types for union field value .
} |
Fields |
Union field value . Metric value in the format specified in the report's spec Metric enum name. value can be only one of the following: |
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-01-20 UTC."],[[["ReportRow objects represent a single row of data returned in a report, containing dimension and metric values."],["`dimensionValues` is a map containing the values for each requested dimension, with keys as the dimension's enum name and values as DimensionValue objects."],["`metricValues` is a map containing the values for each requested metric, with keys as the metric's enum name and values as MetricValue objects."],["DimensionValue objects provide the raw value and an optional localized display label for a dimension."],["MetricValue objects store the actual metric value, which can be an integer, double, or amount in micros, depending on the metric type."]]],["The content defines the structure of a report row, which contains `dimensionValues` and `metricValues`. `dimensionValues` are key-value pairs of dimension names and their corresponding values, which are represented by a string `value` and an optional `displayLabel`. `metricValues` are key-value pairs of metric names and their numerical values. Metric values can be represented as `integerValue`, `doubleValue`, or `microsValue`, each with specific formatting and value types.\n"]]