Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Method: properties.accessBindings.batchUpdate
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
更新与某个账号或媒体资源的多项访问权限绑定的相关信息。
HTTP 请求
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchUpdate
网址采用 gRPC 转码语法。
路径参数
| 参数 |
parent |
string
必需。拥有访问权限绑定的账号或媒体资源。UpdateAccessBindingRequest 消息中提供的所有 AccessBinding 的父级必须与此字段匹配。格式:- accounts/{account} - Properties/{property}
|
请求正文
请求正文中包含结构如下的数据:
| 字段 |
requests[] |
object (UpdateAccessBindingRequest)
必需。指定要更新的访问绑定的请求。最多可以批量更新 1000 个访问权限绑定。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/analytics.manage.users
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["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"]]