Method: customers.devices.patch
Żądanie HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
device.name |
string
Tylko dane wyjściowe. Nazwa ścieżki zasobu.
|
Parametry zapytania
Parametry |
updateMask |
string (FieldMask format)
Pola do zaktualizowania. Jest to lista rozdzielonych przecinkami w pełni pełnych nazw pól. Przykład: "user.displayName,photo" .
|
Treść żądania
Treść żądania zawiera wystąpienie elementu Device
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Device
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/sasportal
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-11-02 UTC.
[null,null,["Ostatnia aktualizacja: 2022-11-02 UTC."],[[["Updates a specific device's information within the Spectrum Access System."],["The request requires providing the device's resource path name as a path parameter."],["You can optionally specify fields to update using the `updateMask` query parameter and a FieldMask format."],["The request body and successful response both contain a `Device` object representing the device's details."],["Authorization necessitates the `https://www.googleapis.com/auth/sasportal` OAuth scope."]]],["This document outlines the process for updating a device via a PATCH request to the specified URL: `https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}`. The device's name is a required path parameter. Updates are specified through the `updateMask` query parameter, using comma-separated field names. The request body includes the `Device` instance data. A successful operation returns an updated `Device` instance in the response body. `https://www.googleapis.com/auth/sasportal` authorization scope is required.\n"]]