Method: admin.directory.v1.customers.chrome.printServers.patch
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Aktualizuje konfigurację serwera wydruku.
Żądanie HTTP
PATCH https://admin.googleapis.com/admin/directory/v1/{printServer.name=customers/*/chrome/printServers/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
printServer.name |
string
Identyfikator. Nazwa zasobu serwera wydruku. Podczas tworzenia pozostaw to pole puste. Format: customers/{customer.id}/printServers/{printServer.id}
|
Parametry zapytania
Parametry |
updateMask |
string (FieldMask format)
Lista pól do zaktualizowania. Niektóre pola są w trybie tylko do odczytu i nie można ich aktualizować. Wartości w nieokreślonych polach są uzupełniane. Jest to lista pełnych nazw pól rozdzielona przecinkami. Przykład: "user.displayName,photo" .
|
Treść żądania
Treść żądania zawiera wystąpienie elementu PrintServer
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu PrintServer
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/admin.chrome.printers
Więcej informacji znajdziesz w przewodniku dotyczącym autoryzacji.
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: 2025-07-24 UTC.
[null,null,["Ostatnia aktualizacja: 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)."]]