ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Method: properties.accessBindings.batchGet
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รับข้อมูลเกี่ยวกับการเชื่อมโยงสิทธิ์เข้าถึงหลายรายการกับบัญชีหรือพร็อพเพอร์ตี้
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchGet
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ บัญชีหรือพร็อพเพอร์ตี้ที่เป็นเจ้าของการเชื่อมโยงการเข้าถึง ระดับบนสุดของค่าที่ระบุทั้งหมดสำหรับช่อง "names" ต้องตรงกับช่องนี้ รูปแบบ: - accounts/{account} - พร็อพเพอร์ตี้/{property}
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
names[] |
string
ต้องระบุ ชื่อของการเชื่อมโยงการเข้าถึงที่จะเรียกข้อมูล เรียกการเชื่อมโยงสิทธิ์เข้าถึงเป็นกลุ่มได้สูงสุด 1,000 รายการ รูปแบบ: - accounts/{account}/accessBindings/{accessBinding} - property/{property}/accessBindings/{accessBinding}
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ BatchGetAccessBindingsResponse
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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\u003eRetrieves information about multiple access bindings associated with a Google Analytics 4 account or property.\u003c/p\u003e\n"],["\u003cp\u003eUses the \u003ccode\u003ebatchGet\u003c/code\u003e method to efficiently fetch data for up to 1000 access bindings in a single request.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the parent account or property and providing a list of access binding names to retrieve.\u003c/p\u003e\n"],["\u003cp\u003eThe API employs gRPC Transcoding for its URL structure and needs appropriate authorization scopes for access.\u003c/p\u003e\n"],["\u003cp\u003eReturns a \u003ccode\u003eBatchGetAccessBindingsResponse\u003c/code\u003e containing details about the requested access bindings upon successful execution.\u003c/p\u003e\n"]]],["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"],null,["# Method: properties.accessBindings.batchGet\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\nGets information about multiple access bindings to an account or property.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings:batchGet`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field must match this field. Formats: - accounts/{account} - properties/{property} |\n\n### Query parameters\n\n| Parameters ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `names[]` | `string` Required. The names of the access bindings to retrieve. A maximum of 1000 access bindings can be retrieved in a batch. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |\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 [BatchGetAccessBindingsResponse](/analytics/devguides/config/admin/v1/rest/v1alpha/BatchGetAccessBindingsResponse).\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`"]]