MetricOption
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
METRIC_OPTION_UNSPECIFIED |
未指定指标选项。在请求中将默认为 AGGREGATED_TOTAL。 |
AGGREGATED_TOTAL |
返回值会聚合整个时间范围内的数据。这是默认值。 |
AGGREGATED_DAILY |
返回时间范围内带时间戳的每日值。 |
BREAKDOWN_DAY_OF_WEEK |
系统会以周几细分值的形式返回值。仅对 ACTIONS_PHONE 有效。 |
BREAKDOWN_HOUR_OF_DAY |
系统会按一天中的时段细分值。仅对 ACTIONS_PHONE 有效。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe \u003ccode\u003emetricOption\u003c/code\u003e field controls how data is displayed, with \u003ccode\u003eAGGREGATED_TOTAL\u003c/code\u003e as the default, showing aggregated values for the entire timeframe.\u003c/p\u003e\n"],["\u003cp\u003eDaily or hourly breakdowns are available for phone call actions (\u003ccode\u003eACTIONS_PHONE\u003c/code\u003e) using \u003ccode\u003eAGGREGATED_DAILY\u003c/code\u003e, \u003ccode\u003eBREAKDOWN_DAY_OF_WEEK\u003c/code\u003e, or \u003ccode\u003eBREAKDOWN_HOUR_OF_DAY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf no \u003ccode\u003emetricOption\u003c/code\u003e is specified (\u003ccode\u003eMETRIC_OPTION_UNSPECIFIED\u003c/code\u003e), it defaults to \u003ccode\u003eAGGREGATED_TOTAL\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# MetricOption\n\nOption to specify how data should be displayed in the response.\n\n| Enums ||\n|-----------------------------|------------------------------------------------------------------------------------------|\n| `METRIC_OPTION_UNSPECIFIED` | No metric option specified. Will default to AGGREGATED_TOTAL in a request. |\n| `AGGREGATED_TOTAL` | Return values aggregated over the entire time frame. This is the default value. |\n| `AGGREGATED_DAILY` | Return daily timestamped values across time range. |\n| `BREAKDOWN_DAY_OF_WEEK` | Values will be returned as a breakdown by day of the week. Only valid for ACTIONS_PHONE. |\n| `BREAKDOWN_HOUR_OF_DAY` | Values will be returned as a breakdown by hour of the day. Only valid for ACTIONS_PHONE. |"]]