MetricsRow
Stay organized with collections
Save and categorize content based on your preferences.
Represents a row of dimensions and metrics.
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 2025-03-19 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 2025-03-19 UTC."],[[["\u003cp\u003eJSON representation depicts a row encompassing dimensions and metrics within the data.\u003c/p\u003e\n"],["\u003cp\u003eEach row specifies an aggregation period, start time, dimension values, and metric values.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eaggregationPeriod\u003c/code\u003e determines the granularity of data aggregation for the row (e.g., daily, weekly).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estartTime\u003c/code\u003e indicates the beginning of the period represented by the row, including time for hourly aggregation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edimensions\u003c/code\u003e and \u003ccode\u003emetrics\u003c/code\u003e arrays contain respective values corresponding to the row's data point.\u003c/p\u003e\n"]]],["This JSON representation defines a data row containing dimensions and metrics. It includes the `aggregationPeriod` which specifies the time granularity, and `startTime`, the beginning of the row's time period. `dimensions[]` array holds the dimensional attributes, while `metrics[]` array contains the associated metric values. These fields, period, time, dimension and metrics, represent the core data structure for organizing and presenting information.\n"],null,["# MetricsRow\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a row of dimensions and metrics.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"aggregationPeriod\": enum (/play/developer/reporting/reference/rest/v1beta1/AggregationPeriod), \"startTime\": { object (/play/developer/reporting/reference/rest/Shared.Types/DateTime) }, \"dimensions\": [ { object (/play/developer/reporting/reference/rest/v1beta1/anomalies#DimensionValue) } ], \"metrics\": [ { object (/play/developer/reporting/reference/rest/v1beta1/anomalies#MetricValue) } ] } ``` |\n\n| Fields ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `aggregationPeriod` | `enum (`[AggregationPeriod](/play/developer/reporting/reference/rest/v1beta1/AggregationPeriod)`)` Granularity of the aggregation period of the row. |\n| `startTime` | `object (`[DateTime](/play/developer/reporting/reference/rest/Shared.Types/DateTime)`)` Starting date (and time for hourly aggregation) of the period covered by this row. |\n| `dimensions[]` | `object (`[DimensionValue](/play/developer/reporting/reference/rest/v1beta1/anomalies#DimensionValue)`)` Dimension columns in the row. |\n| `metrics[]` | `object (`[MetricValue](/play/developer/reporting/reference/rest/v1beta1/anomalies#MetricValue)`)` Metric columns in the row. |"]]