Method: customers.devices.move
Yêu cầu HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
name |
string
Bắt buộc. Tên của thiết bị cần di chuyển.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"destination": string
} |
Các trường |
destination |
string
Bắt buộc. Tên của tài nguyên gốc mới node hoặc customer để đặt lại tên thiết bị ở bên dưới.
|
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Operation
.
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/sasportal
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2022-11-02 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2022-11-02 UTC."],[[["Moves a device under a different node or customer within the Spectrum Access System."],["Requires an HTTP POST request to a specific URL with the device name as a path parameter."],["The request body must specify the destination node or customer for the device."],["A successful response returns an Operation object, and authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document details the process of moving a device to a new parent node or customer. The `POST` request, using gRPC Transcoding, targets a specific device by its name via a URL path parameter. The request body requires a JSON object with a \"destination\" field, specifying the new parent's name. A successful request returns an Operation object. This process requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization.\n"]]