Method: properties.accessBindings.batchGet
获取有关某个帐号或媒体资源的多个访问权限绑定的信息。
HTTP 请求
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/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 4 account or property."],["Uses the `batchGet` method to efficiently fetch data for up to 1000 access bindings in a single request."],["Requires specifying the parent account or property and providing a list of access binding names to retrieve."],["The API employs gRPC Transcoding for its URL structure and needs appropriate authorization scopes for access."],["Returns a `BatchGetAccessBindingsResponse` containing details about the requested access bindings upon successful execution."]]],["This document details how to retrieve multiple access bindings for an account or property using a `GET` request to the specified URL. The `parent` path parameter, representing the account or property, is mandatory. The `names[]` query parameter, also required, specifies the access bindings to retrieve, with a maximum of 1000. The request body is empty. A successful operation returns a `BatchGetAccessBindingsResponse`. Authorization requires specific OAuth scopes related to managing users.\n"]]