Method: customers.devices.move
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
HTTP-запрос
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Имя устройства для перемещения. |
Тело запроса
Тело запроса содержит данные со следующей структурой:
Представление JSON |
---|
{
"destination": string
} |
Поля |
---|
destination | string Необходимый. Имя нового родительского ресурса (узел или клиент), в котором будет переназначено устройство. |
Тело ответа
В случае успеха тело ответа содержит экземпляр Operation
.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/userinfo.email
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2022-09-26 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 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"]]