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. Pełna lista rozdzielonych przecinkami 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/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 documentation outlines how to update a device using the Spectrum Access System API with a `PATCH` request to a specified endpoint."],["The request involves path and query parameters, including `device.name` for device identification and `updateMask` for specifying fields to update."],["Both the request and response bodies utilize the `Device` object, detailed in external documentation."],["Proper authorization requires the `https://www.googleapis.com/auth/userinfo.email` OAuth scope."]]],["This document details updating a device via a PATCH request to a specified URL. The URL utilizes gRPC Transcoding and includes a `device.name` path parameter. The `updateMask` query parameter specifies which fields to modify, while the request body carries the updated `Device` instance. A successful response returns the modified `Device`. The action needs `https://www.googleapis.com/auth/userinfo.email` authorization scope.\n"]]