ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Method: accounts.accessBindings.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงรายการการเชื่อมโยงการเข้าถึงทั้งหมดในบัญชีหรือพร็อพเพอร์ตี้
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ รูปแบบ: - accounts/{account} - พร็อพเพอร์ตี้/{property}
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
จำนวนการเชื่อมโยงการเข้าถึงสูงสุดที่จะส่งคืน บริการอาจแสดงผลน้อยกว่าค่านี้ หากไม่ระบุ ระบบจะแสดงผลการเชื่อมโยงการเข้าถึงสูงสุด 200 รายการ ค่าสูงสุดคือ 500 โดยระบบจะเปลี่ยนค่าที่สูงกว่า 500 เป็น 500
|
pageToken |
string
โทเค็นของหน้าเว็บที่ได้รับจากการโทร accessBindings.list ครั้งก่อน ระบุข้อมูลนี้เพื่อเรียกหน้าถัดไป เมื่อใส่เลขหน้า พารามิเตอร์อื่นๆ ทั้งหมดที่ระบุให้ accessBindings.list ต้องตรงกับการเรียกที่ระบุโทเค็นของหน้า
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ ListAccessBindingsResponse
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/analytics.manage.users.readonly
https://www.googleapis.com/auth/analytics.manage.users
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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`"]]