Method: admin.directory.v1.customers.chrome.printers.patch

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

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.