Method: nodes.deployments.devices.create
คำขอ HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices
URL ใช้ไวยากรณ์ gRPC Transcoding
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ ชื่อของทรัพยากรระดับบนสุด
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ Device
เนื้อหาการตอบกลับ
หากทําสําเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Device
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/sasportal
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-11-02 UTC
[null,null,["อัปเดตล่าสุด 2022-11-02 UTC"],[[["Creates a device under a node or customer."],["Sends a POST request to `https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices`."],["Requires the `parent` path parameter specifying the name of the parent resource."],["The request body should contain an instance of the Device object, and a successful response will return the newly created Device instance."],["Needs authorization with the `https://www.googleapis.com/auth/sasportal` scope."]]],["This describes the process of creating a device. Key actions include sending a `POST` request to a specific URL (`https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices`) which uses gRPC Transcoding. The `parent` path parameter is required, indicating the parent resource. The request body must contain a `Device` instance, and upon success, the response body returns the newly created `Device` instance. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]