Method: customers.devices.move
คำขอ HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move
URL ใช้ไวยากรณ์ gRPC Transcoding
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่ออุปกรณ์ที่จะย้าย
|
เนื้อหาของคำขอ
เนื้อหาของคําขอมีข้อมูลที่มีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"destination": string
} |
ช่อง |
destination |
string
ต้องระบุ ชื่อทรัพยากรระดับบนสุดใหม่ (โหนดหรือลูกค้า) เพื่อนําอุปกรณ์มาใช้ซ้ํา
|
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Operation
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/userinfo.email
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-09-26 UTC
[null,null,["อัปเดตล่าสุด 2022-09-26 UTC"],[[["This API moves a device under a new parent node or customer within the Spectrum Access System."],["The request must specify the device's name and the destination's name (node or customer)."],["A successful request returns an Operation object and requires the `https://www.googleapis.com/auth/userinfo.email` scope for authorization."]]],["This document details the process of moving a device to a different parent resource (node or customer) using a `POST` request. The request URL requires the device's name as a path parameter. The request body, in JSON format, must include the `destination`, specifying the new parent's name. A successful operation returns an `Operation` instance. This action requires the `https://www.googleapis.com/auth/userinfo.email` authorization scope.\n"]]