MetricsRow
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]