MetricsRow
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Représente une ligne de dimensions et de métriques.
Champs |
aggregationPeriod |
enum (AggregationPeriod )
Précision de la période d'agrégation de la ligne.
|
startTime |
object (DateTime )
Date de début (et heure pour l'agrégation horaire) de la période couverte par cette ligne.
|
dimensions[] |
object (DimensionValue )
Colonnes de dimension dans la ligne.
|
metrics[] |
object (MetricValue )
Colonnes de métriques dans la ligne.
|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (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. |"]]