试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
Method: properties.accessBindings.list
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
HTTP 请求
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。格式:- 账号/{账号} - 媒体资源/{媒体资源}
|
查询参数
参数 |
pageSize |
integer
要返回的访问绑定数量上限。服务返回的值可能小于此值。如果未指定,则最多返回 200 个访问绑定。最大值为 500;大于 500 的值将被强制转换为 500。
|
pageToken |
string
从之前的 accessBindings.list 调用接收的页面令牌。提供此令牌以检索后续页面。进行分页时,提供给 accessBindings.list 的所有其他参数必须与提供页面令牌的调用匹配。
|
授权范围
需要以下 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):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eLists all access bindings, which control user permissions, for a given Google Analytics 4 property or account.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires specifying the parent property or account using the \u003ccode\u003eparent\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eYou can control the number of results and retrieve subsequent pages using the \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with specific OAuth scopes to manage or view user access.\u003c/p\u003e\n"]]],["This document outlines how to list access bindings for Google Analytics accounts or properties. A `GET` request is sent to a specified URL, including a required `parent` path parameter (account or property ID). Optional query parameters `pageSize` (max 500) and `pageToken` (for pagination) can be used. The request body is empty. A successful response returns a `ListAccessBindingsResponse`. The request requires specific OAuth scopes for read or manage user permissions.\n"],null,["# Method: properties.accessBindings.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists all access bindings on an account or property.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|--------------------------------------------------------------------------|\n| `parent` | `string` Required. Formats: - accounts/{account} - properties/{property} |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of access bindings to return. The service may return fewer than this value. If unspecified, at most 200 access bindings will be returned. The maximum value is 500; values above 500 will be coerced to 500. |\n| `pageToken` | `string` A page token, received from a previous `accessBindings.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `accessBindings.list` must match the call that provided the page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ListAccessBindingsResponse](/analytics/devguides/config/admin/v1/rest/v1alpha/ListAccessBindingsResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.manage.users.readonly`\n- `https://www.googleapis.com/auth/analytics.manage.users`"]]