MCP-Server für Google Analytics ausprobieren Installieren Sie das Tool über
GitHub. Weitere Informationen finden Sie in der
Ankündigung.
Method: properties.accessBindings.batchUpdate
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
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: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eUpdates information about multiple access bindings to an account or property.\u003c/p\u003e\n"],["\u003cp\u003eSends a POST request to the specified URL with path parameters for the parent account or property.\u003c/p\u003e\n"],["\u003cp\u003eRequires a request body containing an array of UpdateAccessBindingRequest objects.\u003c/p\u003e\n"],["\u003cp\u003eUpon success, returns a BatchUpdateAccessBindingsResponse object.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.manage.users\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: properties.accessBindings.batchUpdate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates information about multiple access bindings to an account or property.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchUpdate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property} |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requests\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchUpdate#UpdateAccessBindingRequest) } ] } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requests[]` | `object (`[UpdateAccessBindingRequest](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings/batchUpdate#UpdateAccessBindingRequest)`)` Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch. |\n\n### Response body\n\nIf successful, the response body contains an instance of [BatchUpdateAccessBindingsResponse](/analytics/devguides/config/admin/v1/rest/v1alpha/BatchUpdateAccessBindingsResponse).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.manage.users`"]]