Method: deployments.devices.patch
HTTP isteği
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
device.name |
string
Yalnızca çıkış. Kaynak yolu adı.
|
Sorgu parametreleri
Parametreler |
updateMask |
string (FieldMask format)
Güncellenecek alanlar. Bu, tam nitelikli alan adlarının virgülle ayrılmış bir listesidir. Örnek: "user.displayName,photo" .
|
İstek metni
İstek metni, Device
öğesinin bir örneğini içerir.
Yanıt metni
Başarılıysa yanıt metni, Device
öğesinin bir örneğini içerir.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/sasportal
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2022-11-02 UTC.
[null,null,["Son güncelleme tarihi: 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"]]