Method: customers.nodes.move
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Solicitud HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/nodes/*}:move
La URL usa la sintaxis de la transcodificación gRPC.
Parámetros de ruta de acceso
Parámetros |
name |
string
Es obligatorio. Es el nombre del node que se moverá.
|
Cuerpo de la solicitud
El cuerpo de la solicitud contiene datos con la siguiente estructura:
Representación JSON |
{
"destination": string
} |
Campos |
destination |
string
Es obligatorio. Nombre del nuevo recurso principal (node o Customer ) en el que se cambiará el elemento superior del nodo.
|
Cuerpo de la respuesta
Si se ejecuta de forma correcta, el cuerpo de la respuesta contiene una instancia de Operation
.
Alcances de la autorización
Requiere el siguiente alcance de OAuth:
https://www.googleapis.com/auth/userinfo.email
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 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`"]]