Method: domains.trafficStats.get
特定の日付のドメインのトラフィック統計情報を取得します。ユーザーがドメインの TrafficStats にアクセスする権限を持っていない場合は、PERMISSION_DENIED を返します。
HTTP リクエスト
GET https://gmailpostmastertools.googleapis.com/v1/{name=domains/*/trafficStats/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
取得するトラフィック統計情報のリソース名。例: domains/mymail.mydomain.com/trafficStats/20160807.
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には TrafficStats
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/postmaster.readonly
詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-05 UTC。
[null,null,["最終更新日 2024-09-05 UTC。"],[[["Retrieve traffic statistics for a specific domain and date using the provided API endpoint."],["User must have appropriate permissions to access TrafficStats for the requested domain, otherwise a PERMISSION_DENIED error will be returned."],["The request requires authorization with the `https://www.googleapis.com/auth/postmaster.readonly` scope."],["Successful responses will contain a TrafficStats object with the requested data."]]],[]]