Method: properties.get
درخواست HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام ملک مورد نظر. قالب: خواص/{property_id} مثال: "properties/1000" |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از Property
است.
محدوده مجوز
به یکی از حوزه های OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.readonly
-
https://www.googleapis.com/auth/analytics.edit
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی."],[[["Lookup a single Google Analytics 4 (GA4) property using its ID."],["This request requires authorization using specific OAuth scopes for either read or edit access to Analytics data."],["It uses an HTTP GET request to a designated URL with the property ID as a path parameter."],["The request body should be empty, and a successful response returns the property details."]]],["The core content describes how to retrieve a single Google Analytics property using a `GET` request to a specific URL, formatted as `https://analyticsadmin.googleapis.com/v1beta/{name=properties/*}`. The required `name` path parameter specifies the property to look up (e.g., \"properties/1000\"). The request body must be empty. A successful response will return a `Property` instance. This action requires either `analytics.readonly` or `analytics.edit` authorization scopes.\n"]]