Method: customers.nodes.devices.create
คำขอ HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/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."],["Sends a POST request to `https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices`."],["Requires specifying the parent resource (node or customer) in the path parameter."],["The request body should contain a `Device` object and a successful response will return the created `Device` object."],["Needs `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization."]]],["This describes the creation of a device resource. Key actions involve sending a `POST` request to a specific URL (`https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices`). The request requires a `parent` path parameter, identifying the node or customer, and a request body containing device information. Upon success, a new device instance is returned in the response. The process needs `https://www.googleapis.com/auth/sasportal` authorization scope.\n"]]