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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\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. |"]]