Method: accounts.accessBindings.batchGet
รับข้อมูลเกี่ยวกับการเชื่อมโยงสิทธิ์เข้าถึงหลายรายการกับบัญชีหรือพร็อพเพอร์ตี้
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/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 และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-05-06 UTC
[null,null,["อัปเดตล่าสุด 2024-05-06 UTC"],[[["Retrieves information about multiple access bindings associated with a Google Analytics account or property."],["Requires specifying the parent account or property and a list of access binding names in the request."],["Uses a `GET` request to the `https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings:batchGet` endpoint."],["The response includes details about the requested access bindings in a `BatchGetAccessBindingsResponse` object."],["Requires appropriate authorization scopes for user access management in Google Analytics."]]],["This outlines how to retrieve multiple access bindings for an account or property using a `GET` request. The URL requires the `parent` path parameter specifying the account or property. The `names[]` query parameter is also required and allows fetching up to 1000 access bindings. The request body must be empty. A successful response contains `BatchGetAccessBindingsResponse`. Authorization requires `analytics.manage.users.readonly` or `analytics.manage.users` scopes. The request uses gRPC Transcoding syntax.\n"]]