Method: customers.nodes.move
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Requête HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/nodes/*}:move
L'URL utilise la syntaxe de transcodage gRPC.
Paramètres de chemin d'accès
Paramètres |
name |
string
Obligatoire. Nom du node à déplacer.
|
Corps de la requête
Le corps de la requête contient des données présentant la structure suivante :
Représentation JSON |
{
"destination": string
} |
Champs |
destination |
string
Obligatoire. Nom de la nouvelle ressource parente (node ou Customer ) sous laquelle réattribuer le nœud.
|
Corps de la réponse
Si la requête aboutit, le corps de la réponse contient une instance de Operation
.
Champs d'application des autorisations
Requiert le champ d'application OAuth suivant :
https://www.googleapis.com/auth/userinfo.email
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 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`"]]