Method: accounts.accessBindings.batchGet
Ruft Informationen zu mehreren Zugriffsbindungen für ein Konto oder eine Property ab
HTTP-Anfrage
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Das Konto oder die Property, zu der die Zugriffsbindungen gehören. Das übergeordnete Element aller angegebenen Werte für das Feld „names“ muss mit diesem Feld übereinstimmen. Formate: – Konten/{Konto} – Properties/{Property}
|
Abfrageparameter
Parameter |
names[] |
string
Erforderlich. Die Namen der abzurufenden Zugriffsbindungen. In einem Batch können maximal 1.000 Zugriffsbindungen abgerufen werden. Formate: – accounts/{account}/accessBindings/{accessBinding} – Properties/{property}/accessBindings/{accessBinding}
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von BatchGetAccessBindingsResponse
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/analytics.manage.users.readonly
https://www.googleapis.com/auth/analytics.manage.users
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-06 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]