Method: properties.accessBindings.batchUpdate
Aktualisiert Informationen über mehrere Zugriffsbindungen für ein Konto oder eine Property.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchUpdate
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Das Konto oder die Property, zu dem die Zugriffsbindungen gehören. Das übergeordnete Element aller in UpdateAccessBindingRequest-Nachrichten angegebenen AccessBinding-Nachrichten muss mit diesem Feld übereinstimmen. Formate: – Konten/{Konto} – Properties/{Property}
|
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
Felder |
requests[] |
object (UpdateAccessBindingRequest )
Erforderlich. Die Anfragen, die die zu aktualisierenden Zugriffsbindungen angeben. Es können maximal 1.000 Zugriffsbindungen in einem Batch aktualisiert werden.
|
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von BatchUpdateAccessBindingsResponse
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
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-08-29 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-29 (UTC)."],[[["Updates information about multiple access bindings to an account or property."],["Sends a POST request to the specified URL with path parameters for the parent account or property."],["Requires a request body containing an array of UpdateAccessBindingRequest objects."],["Upon success, returns a BatchUpdateAccessBindingsResponse object."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This document details the process of updating multiple access bindings for an account or property via a `POST` request to a specified URL. The URL requires the `parent` parameter, indicating the account or property. The request body, formatted in JSON, contains an array of `requests`, each defining an access binding to update, with a maximum of 1000 allowed. Successful updates return a `BatchUpdateAccessBindingsResponse`. This process requires the `https://www.googleapis.com/auth/analytics.manage.users` authorization scope.\n"]]