Method: customers.nodes.move
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
HTTP-запрос
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/nodes/*}:move
URL использует синтаксис перекодировки gRPC .
Параметры пути
Параметры |
---|
name | string Обязательно. Имя перемещаемого node . |
Текст запроса
Тело запроса содержит данные со следующей структурой:
JSON-представление |
---|
{
"destination": string
} |
Поля |
---|
destination | string Обязательно. Имя нового родительского node ресурса (или Customer ), которому будет подчиняться узел. |
Тело ответа
В случае успеха тело ответа содержит экземпляр Operation
.
Области авторизации
Требуется следующая область OAuth:
-
https://www.googleapis.com/auth/userinfo.email
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eMoves a node under another node or customer within the Spectrum Access System.\u003c/p\u003e\n"],["\u003cp\u003eRequires a POST request to a specific URL with the node's name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain the destination node or customer's name.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns an Operation object and requires specific authorization scopes.\u003c/p\u003e\n"]]],["This document outlines how to move a node using a POST HTTP request to a specific URL. The request requires a node's name as a path parameter. The request body, in JSON format, must include the `destination` field, specifying the new parent node or customer. A successful operation returns an `Operation` instance. Authorization requires the `userinfo.email` OAuth scope. The process leverages gRPC Transcoding syntax for the URL.\n"],null,["# Method: customers.nodes.move\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nMoves a [node](/spectrum-access-system/reference/rest/customers.nodes#Node) under another [node](/spectrum-access-system/reference/rest/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/customers#Customer).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/nodes/*}:move`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-----------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the [node](/spectrum-access-system/reference/rest/customers.nodes#Node) to move. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|-----------------------------------|---|\n| ``` { \"destination\": string } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `destination` | `string` Required. The name of the new parent resource [node](/spectrum-access-system/reference/rest/customers.nodes#Node) or [Customer](/spectrum-access-system/reference/rest/customers#Customer)) to reparent the node under. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/spectrum-access-system/reference/rest/Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/userinfo.email`"]]