Method: customers.devices.move
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Solicitação HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move
O URL usa a sintaxe de transcodificação gRPC.
Parâmetros de caminho
Parâmetros |
name |
string
Obrigatório. O nome do dispositivo a ser movido.
|
Corpo da solicitação
O corpo da solicitação contém dados com a seguinte estrutura:
Representação JSON |
{
"destination": string
} |
Campos |
destination |
string
Obrigatório. O nome do novo recurso pai node ou customer para redefinir o dispositivo.
|
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de Operation
.
Escopos de autorização
Requer o seguinte escopo OAuth:
https://www.googleapis.com/auth/sasportal
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 2025-07-25 UTC."],[[["\u003cp\u003eMoves a device under a different node or customer within the Spectrum Access System.\u003c/p\u003e\n"],["\u003cp\u003eRequires an HTTP POST request to a specific URL with the device name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must specify the destination node or customer for the device.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns an Operation object, and authorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: customers.devices.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 [device](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device) under another [node](/spectrum-access-system/reference/rest/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/customers#Customer).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------|\n| `name` | `string` Required. The name of the device 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/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/customers#Customer) to reparent the device under. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/spectrum-access-system/reference/rest/v1alpha1/Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]