Method: deployments.devices.move
HTTP-Anfrage
POST https://sasportal.googleapis.com/v1alpha1/{name=deployments/*/devices/*}:move
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Der Name des zu verschiebenden Geräts.
|
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung |
{
"destination": string
} |
Felder |
destination |
string
Erforderlich. Der Name der neuen übergeordneten Ressource node oder customer , unter der das Gerät neu erstellt werden soll.
|
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Operation
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/sasportal
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2022-11-02 (UTC).
[null,null,["Zuletzt aktualisiert: 2022-11-02 (UTC)."],[[["Moves a device under a different node or customer within the Spectrum Access System."],["The request is made via a POST method to a specific endpoint with the device's name as a path parameter."],["Requires a request body indicating the destination node or customer for the device."],["Successful responses return an Operation object, indicating the status of the move."],["The operation requires authorization with the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document details the process of moving a device to a different node or customer. The core action is a `POST` HTTP request to a specific URL (`https://sasportal.googleapis.com/v1alpha1/{name=deployments/*/devices/*}:move`). The request requires a device's name as a path parameter and the new parent resource's name (`destination`) in the request body, represented in JSON. Successful operations return an `Operation` instance, while the request requires the `https://www.googleapis.com/auth/sasportal` authorization scope.\n"]]