Method: accounts.accessBindings.batchGet
Pobiera informacje o wielu powiązaniach dostępu z kontem lub usługą.
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Konto lub usługa, do których należą powiązania dostępu. Element nadrzędny wszystkich podanych wartości pola „names” musi być zgodny z tym polem. Formaty: - konta/{konto} - usługi/{usługa}
|
Parametry zapytania
Parametry |
names[] |
string
Wymagane. Nazwy powiązań dostępu do pobrania. W grupie możesz pobrać maksymalnie 1000 powiązań dostępu. Formaty: - accounts/{konto}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu BatchGetAccessBindingsResponse
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/analytics.manage.users.readonly
https://www.googleapis.com/auth/analytics.manage.users
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: 2024-05-06 UTC.
[null,null,["Ostatnia aktualizacja: 2024-05-06 UTC."],[[["Retrieves information about multiple access bindings associated with a Google Analytics account or property."],["Requires specifying the parent account or property and a list of access binding names in the request."],["Uses a `GET` request to the `https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet` endpoint."],["The response includes details about the requested access bindings in a `BatchGetAccessBindingsResponse` object."],["Requires appropriate authorization scopes for user access management in Google Analytics."]]],["This outlines how to retrieve multiple access bindings for an account or property using a `GET` request. The URL requires the `parent` path parameter specifying the account or property. The `names[]` query parameter is also required and allows fetching up to 1000 access bindings. The request body must be empty. A successful response contains `BatchGetAccessBindingsResponse`. Authorization requires `analytics.manage.users.readonly` or `analytics.manage.users` scopes. The request uses gRPC Transcoding syntax.\n"]]