Method: accounts.accessBindings.batchGet
获取有关某个帐号或媒体资源的多个访问权限绑定的信息。
HTTP 请求
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。拥有访问权限绑定的帐号或媒体资源。为“names”字段提供的所有值的父级都必须与此字段匹配。格式:- 账号/{账号} - 媒体资源/{媒体资源}
|
查询参数
参数 |
names[] |
string
必需。要检索的访问绑定的名称。一次最多可以检索 1,000 个访问绑定。格式:- accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}
|
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/analytics.manage.users.readonly
https://www.googleapis.com/auth/analytics.manage.users
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-05-06。
[null,null,["最后更新时间 (UTC):2024-05-06。"],[[["Retrieves information about multiple access bindings associated with a Google Analytics account or property."],["Requires specifying the parent account or property and a list of access binding names in the request."],["Uses a `GET` request to the `https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet` endpoint."],["The response includes details about the requested access bindings in a `BatchGetAccessBindingsResponse` object."],["Requires appropriate authorization scopes for user access management in Google Analytics."]]],["This outlines how to retrieve multiple access bindings for an account or property using a `GET` request. The URL requires the `parent` path parameter specifying the account or property. The `names[]` query parameter is also required and allows fetching up to 1000 access bindings. The request body must be empty. A successful response contains `BatchGetAccessBindingsResponse`. Authorization requires `analytics.manage.users.readonly` or `analytics.manage.users` scopes. The request uses gRPC Transcoding syntax.\n"]]