Method: properties.accessBindings.batchGet
Pobiera informacje o wielu powiązaniach dostępu z kontem lub usługą.
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/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 4 account or property."],["Uses the `batchGet` method to efficiently fetch data for up to 1000 access bindings in a single request."],["Requires specifying the parent account or property and providing a list of access binding names to retrieve."],["The API employs gRPC Transcoding for its URL structure and needs appropriate authorization scopes for access."],["Returns a `BatchGetAccessBindingsResponse` containing details about the requested access bindings upon successful execution."]]],["This document details how to retrieve multiple access bindings for an account or property using a `GET` request to the specified URL. The `parent` path parameter, representing the account or property, is mandatory. The `names[]` query parameter, also required, specifies the access bindings to retrieve, with a maximum of 1000. The request body is empty. A successful operation returns a `BatchGetAccessBindingsResponse`. Authorization requires specific OAuth scopes related to managing users.\n"]]