Method: customers.devices.move
Żądanie HTTP
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/devices/*}:move
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagany. Nazwa urządzenia, które chcesz przenieść.
|
Treść żądania
Treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"destination": string
} |
Pola |
destination |
string
Wymagany. Nazwa nowego zasobu nadrzędnego (węzeł lub klient), dla którego chcesz przywrócić urządzenie.
|
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Operation
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/userinfo.email
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2022-09-26 UTC.
[null,null,["Ostatnia aktualizacja: 2022-09-26 UTC."],[[["This API moves a device under a new parent node or customer within the Spectrum Access System."],["The request must specify the device's name and the destination's name (node or customer)."],["A successful request returns an Operation object and requires the `https://www.googleapis.com/auth/userinfo.email` scope for authorization."]]],["This document details the process of moving a device to a different parent resource (node or customer) using a `POST` request. The request URL requires the device's name as a path parameter. The request body, in JSON format, must include the `destination`, specifying the new parent's name. A successful operation returns an `Operation` instance. This action requires the `https://www.googleapis.com/auth/userinfo.email` authorization scope.\n"]]