Method: admin.directory.v1.customers.chrome.printers.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates a Printer
resource.
HTTP request
PATCH https://admin.googleapis.com/admin/directory/v1/{printer.name=customers/*/chrome/printers/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
printer.name |
string
Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
The list of fields to be updated. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
clearMask |
string (FieldMask format)
The list of fields to be cleared. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of Printer
.
Response body
If successful, the response body contains an instance of Printer
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admin.chrome.printers
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-25 UTC.
[null,null,["Last updated 2025-03-25 UTC."],[],[],null,["# Method: admin.directory.v1.customers.chrome.printers.patch\n\nUpdates a `Printer` resource.\n\n### HTTP request\n\n`PATCH https://admin.googleapis.com/admin/directory/v1/{printer.name=customers/*/chrome/printers/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `printer.name` | `string` Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty) |\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 be updated. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n| `clearMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` The list of fields to be cleared. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be 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 [Printer](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers#Printer).\n\n### Response body\n\nIf successful, the response body contains an instance of [Printer](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers#Printer).\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)."]]