MetricsRow
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]