Prova il server MCP per Google Analytics. Installa da
GitHub e consulta l'
annuncio per maggiori dettagli.
Method: properties.getPropertyQuotasSnapshot
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Visualizza tutte le quote delle proprietà organizzate per categoria di quota per una determinata proprietà. Verrà addebitata una quota per proprietà della categoria con la quota più alta.
Richiesta HTTP
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/propertyQuotasSnapshot}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Le quote di questa proprietà verranno elencate nella risposta. Formato: properties/{property}/propertyQuotasSnapshot
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
Stato attuale di tutte le quote della proprietà organizzate per categoria di quota.
In caso di esito positivo, il corpo della risposta contiene dati con la seguente struttura:
Campi |
name |
string
Identificatore. Il nome della risorsa snapshot della quota della proprietà.
|
corePropertyQuota |
object (PropertyQuota )
Quota proprietà per i token delle proprietà principali
|
realtimePropertyQuota |
object (PropertyQuota )
Quota proprietà per i token proprietà in tempo reale
|
funnelPropertyQuota |
object (PropertyQuota )
Quota proprietà per i token delle proprietà della canalizzazione
|
Ambiti di autorizzazione
Richiede uno dei seguenti ambiti OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 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`"]]