Method: properties.get
בקשת HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. השם של הנכס שרוצים לחפש. פורמט: properties/{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 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון UTC)."],[[["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"]]