Method: accounts.get
HTTP isteği
GET https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Aranacak hesabın adı. Biçim: hesaplar/{hesap} Örnek: "accounts/100"
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, Account
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-05-06 UTC.
[null,null,["Son güncelleme tarihi: 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"]]