Google menggunakan teknologi AI untuk menerjemahkan konten ke dalam bahasa pilihan Anda. Terjemahan AI mungkin mengandung kesalahan.
Method: customers.devices.patch
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Permintaan HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
| Parameter |
device.name |
string
Hanya output. Nama jalur resource.
|
Parameter kueri
| Parameter |
updateMask |
string (FieldMask format)
Kolom yang akan diperbarui. Ini adalah comma-separated list berisi nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo".
|
Isi permintaan
Isi permintaan memuat instance Device.
Isi respons
Jika berhasil, isi respons memuat instance Device.
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/sasportal
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[],["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"]]