Method: properties.get
درخواست HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{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 بهوقت ساعت هماهنگ جهانی."],[[["This document explains how to retrieve a single Google Analytics 4 property using the Google Analytics Admin API."],["You will need to make an HTTP GET request to the specified endpoint, providing the property ID as a path parameter."],["The request body should be empty, and a successful response will contain the details of the requested property."],["Authorization is required using one of the specified OAuth scopes: `https://www.googleapis.com/auth/analytics.readonly` or `https://www.googleapis.com/auth/analytics.edit`."]]],["The core content describes how to retrieve a single Google Analytics property using a `GET` request to the specified URL (`https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*}`). The `name` parameter (e.g., \"properties/1000\") within the URL path is required to identify the specific property. The request body must be empty. A successful request returns a `Property` instance in the response body. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"]]