Method: accounts.accessBindings.batchUpdate
更新与账号或媒体资源的多个访问权限绑定相关的信息。
HTTP 请求
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。拥有访问权限绑定的账号或媒体资源。UpdateAccessBindingRequest 消息中所有提供的 AccessBinding 的父级都必须与此字段匹配。格式:- accounts/{account} - properties/{property}
|
请求正文
请求正文中包含结构如下的数据:
字段 |
requests[] |
object (UpdateAccessBindingRequest )
必需。指定要更新的访问权限绑定的请求。一次最多可以批量更新 1,000 个访问权限绑定。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/analytics.manage.users
UpdateAccessBindingRequest
accessBindings.patch RPC 的请求消息。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-14。
[null,null,["最后更新时间 (UTC):2025-01-14。"],[[["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 the `analytics.manage.users` OAuth scope for authorization."]]],["This document outlines the process for updating multiple access bindings for Google Analytics accounts or properties via a batch operation. It uses a `POST` request to the specified URL, with the `parent` path parameter indicating the target account or property. The request body includes an array of `UpdateAccessBindingRequest` objects, each containing an `accessBinding` object to be updated. The maximum number of bindings to be updated is 1000. Successful requests return a `BatchUpdateAccessBindingsResponse`. Authorization requires the `analytics.manage.users` scope.\n"]]