Method: properties.getPropertyQuotasSnapshot
تمام سهمیه های دارایی سازماندهی شده بر اساس طبقه بندی سهمیه برای یک ملک مشخص را دریافت کنید. با این کار 1 سهمیه ملک از دسته ای که بیشترین سهمیه را دارد دریافت می کند.
درخواست HTTP
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/propertyQuotasSnapshot}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. سهمیه های این ملک در پاسخنامه درج خواهد شد. قالب: properties/{property}/propertyQuotasSnapshot |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
وضعیت فعلی همه سهمیههای دارایی سازماندهی شده بر اساس دستهبندی سهمیه.
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی داده هایی با ساختار زیر است:
فیلدها |
---|
name | string شناسه. نام منبع عکس فوری سهمیه اموال. |
core Property Quota | object ( PropertyQuota ) سهمیه املاک برای نشانه های دارایی اصلی |
realtime Property Quota | object ( PropertyQuota ) سهمیه املاک برای نشانه های اموال بیدرنگ |
funnel Property Quota | object ( PropertyQuota ) سهمیه اموال برای نشانه های دارایی قیف |
محدوده مجوز
به یکی از حوزه های OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.readonly
-
https://www.googleapis.com/auth/analytics
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-20 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-20 بهوقت ساعت هماهنگ جهانی."],[[["Retrieves property quota information for a given Google Analytics 4 property, organized by quota category (core, realtime, funnel)."],["Uses an HTTP GET request with the property ID specified in the URL path."],["Returns a JSON response containing the current state of all property quotas, including their respective remaining tokens."],["Requires authorization with either \"analytics.readonly\" or \"analytics\" scope."],["This action consumes 1 property quota from the category with the most remaining quota upon execution."]]],["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"]]