Coba server MCP untuk Google Analytics. Instal dari
GitHub, dan lihat
pengumuman untuk mengetahui detail selengkapnya.
Method: properties.getPropertyQuotasSnapshot
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mendapatkan semua kuota properti yang diatur menurut kategori kuota untuk properti tertentu. Tindakan ini akan mengenakan 1 kuota properti dari kategori dengan kuota terbanyak.
Permintaan HTTP
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/propertyQuotasSnapshot}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Kuota dari properti ini akan dicantumkan dalam respons. Format: properties/{property}/propertyQuotasSnapshot
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Status saat ini dari semua Kuota Properti yang diatur menurut kategori kuota.
Jika berhasil, isi respons memuat data dengan struktur berikut:
Kolom |
name |
string
ID. Nama resource snapshot kuota properti.
|
corePropertyQuota |
object (PropertyQuota )
Kuota Properti untuk token properti inti
|
realtimePropertyQuota |
object (PropertyQuota )
Kuota Properti untuk token properti real-time
|
funnelPropertyQuota |
object (PropertyQuota )
Kuota Properti untuk token properti funnel
|
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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`"]]