AI-generated Key Takeaways
-
This documentation outlines how to update information about multiple access bindings to a Google Analytics account or property using the batchUpdate method.
-
The method utilizes an HTTP POST request to a specific endpoint with path parameters indicating the account or property.
-
The request body should contain an array of
UpdateAccessBindingRequest
objects, each specifying an access binding to update. -
Successful execution results in a
BatchUpdateAccessBindingsResponse
object, and the process requires theanalytics.manage.users
OAuth scope for authorization.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- UpdateAccessBindingRequest
- Try it!
Updates information about multiple access bindings to an account or property.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
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} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requests": [
{
object ( |
Fields | |
---|---|
requests[] |
Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch. |
Response body
If successful, the response body contains an instance of BatchUpdateAccessBindingsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.manage.users
UpdateAccessBindingRequest
Request message for accessBindings.patch RPC.
JSON representation |
---|
{
"accessBinding": {
object ( |
Fields | |
---|---|
accessBinding |
Required. The access binding to update. |