Method: nodes.nodes.devices.create
คำขอ HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/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."],["Uses `POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices` as the HTTP request."],["Requires `parent` as a path parameter to specify the name of the parent resource."],["The request body should contain a Device instance, and a successful response will return the newly created Device instance."],["Needs `https://www.googleapis.com/auth/sasportal` authorization scope."]]],["This describes the creation of a device resource. A `POST` request is sent to a specified URL, with the parent resource name provided as a path parameter. The request body includes a `Device` instance. Upon success, a new `Device` instance is returned in the response body. The operation requires a specific OAuth scope: `https://www.googleapis.com/auth/sasportal`. The URL uses gRPC Transcoding syntax.\n"]]