MCP-Server für Google Analytics ausprobieren Installieren Sie das Tool über
GitHub. Weitere Informationen finden Sie in der
Ankündigung.
Method: properties.getPropertyQuotasSnapshot
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Alle Unterkunftsquoten für eine bestimmte Unterkunft nach Quotenkategorie abrufen Es wird dann ein Kontingent für eine Unterkunft aus der Kategorie mit dem größten Kontingent berechnet.
HTTP-Anfrage
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/propertyQuotasSnapshot}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Die Kontingente dieser Property werden in der Antwort aufgeführt. Format: properties/{property}/propertyQuotasSnapshot
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Der aktuelle Status aller Property-Kontingente, nach Kontingentkategorie sortiert.
Bei Erfolg enthält der Antworttext Daten mit der folgenden Struktur:
Felder |
name |
string
Kennung. Der Ressourcenname des Quota-Snapshots der Property.
|
corePropertyQuota |
object (PropertyQuota )
Property-Kontingent für Haupt-Property-Tokens
|
realtimePropertyQuota |
object (PropertyQuota )
Property-Kontingent für Echtzeit-Property-Tokens
|
funnelPropertyQuota |
object (PropertyQuota )
Property-Kontingent für Trichter-Property-Tokens
|
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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`"]]