Method: properties.accessBindings.create
สร้างการเชื่อมโยงการเข้าถึงในบัญชีหรือพร็อพเพอร์ตี้
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ รูปแบบ: - accounts/{account} - พร็อพเพอร์ตี้/{property}
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ AccessBinding
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ AccessBinding
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
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"],[[["Creates an access binding for a Google Analytics account or property using an HTTP POST request."],["Requires specifying the parent account or property in the request path."],["The request body should contain an `AccessBinding` object, and a successful response will return the created `AccessBinding`."],["Authorization requires the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This outlines creating an access binding for an account or property via a `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings`. The `parent` path parameter, specifying either an account or property, is required. The request body needs an `AccessBinding` instance, and upon success, the response body returns the newly created `AccessBinding`. This action requires the `https://www.googleapis.com/auth/analytics.manage.users` OAuth scope.\n"]]