Method: accounts.get
בקשת HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם החשבון לחיפוש. פורמט: accounts/{account} דוגמה: "accounts/100"
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של Account
.
היקפי הרשאות
נדרש אחד מהיקפי ההרשאות הבאים של 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 ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-05-06 (שעון UTC).
[null,null,["עדכון אחרון: 2024-05-06 (שעון UTC)."],[[["Lookup an Account using its resource name with a `GET` request to the specified endpoint."],["The request requires specifying the `name` path parameter in the URL, representing the Account's identifier."],["An empty request body is necessary for this operation."],["Upon success, the response includes detailed information about the Account in the specified format."],["Authorization is required with scopes allowing read-only or edit access to Analytics data."]]],["The core content describes how to retrieve a single account using an HTTP GET request. The request is made to `https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}`, where `name` is a required path parameter specifying the account's identifier (e.g., \"accounts/100\"). The request body must be empty. A successful response returns an `Account` object. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. Users can test the request using the provided \"Try it!\" feature.\n"]]