Method: admin.directory.v1.customers.chrome.printServers.patch
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mengupdate konfigurasi server cetak.
Permintaan HTTP
PATCH https://admin.googleapis.com/admin/directory/v1/{printServer.name=customers/*/chrome/printServers/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
printServer.name |
string
ID. Nama resource server pencetakan. Biarkan kosong saat membuat. Format: customers/{customer.id}/printServers/{printServer.id}
|
Parameter kueri
Parameter |
updateMask |
string (FieldMask format)
Daftar kolom yang akan diperbarui. Beberapa kolom bersifat hanya baca dan tidak dapat diperbarui. Nilai untuk kolom yang tidak ditentukan akan ditambal. Ini adalah daftar dipisahkan koma yang berisi nama-nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo" .
|
Isi permintaan
Isi permintaan memuat instance PrintServer
.
Isi respons
Jika berhasil, isi respons memuat instance PrintServer
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/admin.chrome.printers
Untuk mengetahui informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-24 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-24 UTC."],[],[],null,["# Method: admin.directory.v1.customers.chrome.printServers.patch\n\nUpdates a print server's configuration.\n\n### HTTP request\n\n`PATCH https://admin.googleapis.com/admin/directory/v1/{printServer.name=customers/*/chrome/printServers/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `printServer.name` | `string` Identifier. Resource name of the print server. Leave empty when creating. Format: `customers/{customer.id}/printServers/{printServer.id}` |\n\n### Query parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` The list of fields to update. Some fields are read-only and cannot be updated. Values for unspecified fields are patched. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [PrintServer](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers#PrintServer).\n\n### Response body\n\nIf successful, the response body contains an instance of [PrintServer](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers#PrintServer).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.chrome.printers`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]