Method: deployments.devices.patch
Żądanie HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/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 an existing device within a deployment using an HTTP PATCH request."],["The request must target a specific device using its resource path in the URL."],["You can specify fields to update with the `updateMask` query parameter using FieldMask format."],["The request body should contain the updated device details in the Device object format, and the response will return the updated device if successful."],["Requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization."]]],["This document details the process of updating a device via a `PATCH` request to a specific URL: `https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}`. The `device.name` is a required path parameter. Optional updates are specified using the `updateMask` query parameter. The request body must contain a `Device` instance. A successful operation returns a `Device` instance in the response body. This operation requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization.\n"]]