Method: properties.firebaseLinks.create
สร้างลิงก์ Firebase
พร็อพเพอร์ตี้มีลิงก์ Firebase ได้สูงสุด 1 รายการ
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/firebaseLinks
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ รูปแบบ: พร็อพเพอร์ตี้/{property_id} เช่น properties/1234
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ FirebaseLink
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ที่สร้างขึ้นใหม่ FirebaseLink
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-01 UTC
[null,null,["อัปเดตล่าสุด 2024-08-01 UTC"],[[["Creates a FirebaseLink, allowing properties to have at most one."],["Sends a POST request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/firebaseLinks` to create the link."],["Requires specifying the parent property in the path parameter using the format `properties/{property_id}`."],["The request body should contain a FirebaseLink object, as detailed in the provided documentation."],["Needs `https://www.googleapis.com/auth/analytics.edit` authorization scope for successful execution."]]],["This documentation details the process for creating a FirebaseLink via an HTTP POST request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/firebaseLinks`. The `parent` path parameter, in the format `properties/{property_id}`, is required. The request body must contain a `FirebaseLink` instance, and a successful response returns a newly created `FirebaseLink`. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. Each property can have at most one FirebaseLink.\n"]]