MetricsRow
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mewakili baris dimensi dan metrik.
Kolom |
aggregationPeriod |
enum (AggregationPeriod )
Perincian periode agregasi baris.
|
startTime |
object (DateTime )
Tanggal mulai (dan waktu untuk agregasi per jam) periode yang dicakup oleh baris ini.
|
dimensions[] |
object (DimensionValue )
Kolom dimensi dalam baris.
|
metrics[] |
object (MetricValue )
Kolom metrik dalam baris.
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]