Method: properties.get
wyszukiwanie pojedynczej usługi w GA,
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa właściwości do wyszukania. Format: „usługi/{identyfikator_usługi}” Przykład: „usługi/1000”
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Property
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-14 UTC."],[[["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"]]