Hãy thử máy chủ MCP cho Google Analytics. Cài đặt từ
GitHub và xem
thông báo để biết thêm thông tin chi tiết.
Method: accounts.accessBindings.list
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Liệt kê tất cả các liên kết quyền truy cập trên một tài khoản hoặc tài sản.
Yêu cầu HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
parent |
string
Bắt buộc. Định dạng: - tài khoản/{account} - thuộc tính/{thuộc tính}
|
Tham số truy vấn
Tham số |
pageSize |
integer
Số lượng liên kết quyền truy cập tối đa cần trả về. Dịch vụ có thể trả về ít hơn giá trị này. Nếu không chỉ định, sẽ có tối đa 200 liên kết quyền truy cập được trả về. Giá trị tối đa là 500; các giá trị trên 500 sẽ bị buộc thành 500.
|
pageToken |
string
Mã thông báo trang, nhận được từ lệnh gọi accessBindings.list trước đó. Cung cấp URL này để truy xuất trang tiếp theo. Khi phân trang, tất cả các tham số khác được cung cấp cho accessBindings.list phải khớp với lệnh gọi đã cung cấp mã thông báo trang.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của ListAccessBindingsResponse
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau đây:
https://www.googleapis.com/auth/analytics.manage.users.readonly
https://www.googleapis.com/auth/analytics.manage.users
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eLists all access bindings associated with a Google Analytics 4 account or property.\u003c/p\u003e\n"],["\u003cp\u003eThe API request uses the HTTP GET method and requires specifying the parent account or property in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eYou can control the number of results and retrieve subsequent pages using query parameters for page size and page token.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is necessary using specific OAuth scopes related to managing users in Google Analytics.\u003c/p\u003e\n"]]],["This outlines the process for listing access bindings on an account or property via an HTTP GET request. The request URL structure uses gRPC Transcoding, and requires a `parent` path parameter specifying the account or property. Optional query parameters `pageSize` and `pageToken` control pagination. The request body must be empty. A successful response returns a `ListAccessBindingsResponse`. Authorization requires specific OAuth scopes, either `analytics.manage.users.readonly` or `analytics.manage.users`.\n"],null,["# Method: accounts.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=accounts/*}/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`"]]