Google アナリティクスの MCP サーバーを試します。
GitHub からインストールし、詳細については
お知らせをご覧ください。
Method: properties.getPropertyQuotasSnapshot
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
特定のプロパティの割り当てカテゴリ別に、すべてのプロパティの割り当てを取得します。これにより、割り当てが最も多いカテゴリから 1 件の宿泊施設の割り当てが課金されます。
HTTP リクエスト
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/propertyQuotasSnapshot}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。このプロパティの割り当てはレスポンスに一覧表示されます。形式: properties/{property}/propertyQuotasSnapshot
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
割り当てカテゴリ別に整理された、すべてのプロパティの割り当ての現在のステータス。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
フィールド |
name |
string
ID。プロパティ割り当てスナップショット リソース名。
|
corePropertyQuota |
object (PropertyQuota )
コア プロパティ トークンのプロパティ割り当て
|
realtimePropertyQuota |
object (PropertyQuota )
リアルタイム プロパティ トークンのプロパティ割り当て
|
funnelPropertyQuota |
object (PropertyQuota )
目標到達プロセスのプロパティ トークンのプロパティ割り当て
|
認可スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eRetrieves property quota information for a given Google Analytics 4 property, organized by quota category (core, realtime, funnel).\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP GET request with the property ID specified in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eReturns a JSON response containing the current state of all property quotas, including their respective remaining tokens.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with either "analytics.readonly" or "analytics" scope.\u003c/p\u003e\n"],["\u003cp\u003eThis action consumes 1 property quota from the category with the most remaining quota upon execution.\u003c/p\u003e\n"]]],["This content describes retrieving property quotas via a `GET` request to `https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/propertyQuotasSnapshot}`. The `name` path parameter, specifying the property, is required. The request body must be empty. The response returns a JSON object containing the current state of `core`, `realtime`, and `funnel` property quotas, organized by category, along with a resource name. Authorization requires either the `analytics.readonly` or `analytics` OAuth scope. This operation consumes one quota from the highest-usage quota category.\n"],null,["# Method: properties.getPropertyQuotasSnapshot\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.PropertyQuotasSnapshot.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGet all property quotas organized by quota category for a given property. This will charge 1 property quota from the category with the most quota.\n\n### HTTP request\n\n`GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/propertyQuotasSnapshot}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Quotas from this property will be listed in the response. Format: `properties/{property}/propertyQuotasSnapshot` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nCurrent state of all Property Quotas organized by quota category.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"corePropertyQuota\": { object (/analytics/devguides/reporting/data/v1/rest/v1alpha/PropertyQuota) }, \"realtimePropertyQuota\": { object (/analytics/devguides/reporting/data/v1/rest/v1alpha/PropertyQuota) }, \"funnelPropertyQuota\": { object (/analytics/devguides/reporting/data/v1/rest/v1alpha/PropertyQuota) } } ``` |\n\n| Fields ||\n|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The property quota snapshot resource name. |\n| `core``Property``Quota` | `object (`[PropertyQuota](/analytics/devguides/reporting/data/v1/rest/v1alpha/PropertyQuota)`)` Property Quota for core property tokens |\n| `realtime``Property``Quota` | `object (`[PropertyQuota](/analytics/devguides/reporting/data/v1/rest/v1alpha/PropertyQuota)`)` Property Quota for realtime property tokens |\n| `funnel``Property``Quota` | `object (`[PropertyQuota](/analytics/devguides/reporting/data/v1/rest/v1alpha/PropertyQuota)`)` Property Quota for funnel property tokens |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics`"]]