Resource: Printer
Printer configuration.
JSON representation |
---|
{
"name":string,
"id":string,
"displayName":string,
"description":string,
"makeAndModel":string,
"uri":string,
"createTime":string,
"orgUnitId":string,
"auxiliaryMessages":[
{
object ( |
Fields | |
---|---|
name |
The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty) |
id |
Id of the printer. (During printer creation leave empty) |
displayName |
Editable. Name of printer. |
description |
Editable. Description of printer. |
makeAndModel |
Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in printers.listPrinterModels response. |
uri |
Editable. Printer URI. |
createTime |
Output only. Time when printer was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
orgUnitId |
Organization Unit that owns this printer (Only can be set during Printer creation) |
auxiliaryMessages[] |
Output only. Auxiliary messages about issues with the printer configuration if any. |
useDriverlessConfig |
Editable. flag to use driverless configuration or not. If it's set to be true, makeAndModel can be ignored |
AuxiliaryMessage
Auxiliary message about issues with printers or settings. Example: {messageType:AUXILIARY_MESSAGE_WARNING, fieldMask:makeAndModel, message: "Given printer is invalid or no longer supported." }
JSON representation |
---|
{
"severity":enum ( |
Fields | |
---|---|
severity |
Message severity |
fieldMask |
Field that this message concerns. This is a comma-separated list of fully qualified names of fields. Example: |
auxiliaryMessage |
Human readable message in English. Example: "Given printer is invalid or no longer supported." |
Severity
Auxiliary message severity
Enums | |
---|---|
SEVERITY_UNSPECIFIED |
Message type unspecified. |
SEVERITY_INFO |
Message of severity: info. |
SEVERITY_WARNING |
Message of severity: warning. |
SEVERITY_ERROR |
Message of severity: error. |
Methods |
|
---|---|
|
Creates printers under given Organization Unit. |
|
Deletes printers in batch. |
|
Creates a printer under given Organization Unit. |
|
Deletes aPrinter . |
|
Returns aPrinter resource (printer's config). |
|
List printers configs. |
|
Lists the supported printer models. |
|
Updates aPrinter resource. |