class Google::Apis::AdminDirectoryV1::Printer

Printer configuration.

Attributes

auxiliary_messages[RW]

Output only. Auxiliary messages about issues with the printer configuration if any. Corresponds to the JSON property `auxiliaryMessages` @return [Array<Google::Apis::AdminDirectoryV1::AuxiliaryMessage>]

create_time[RW]

Output only. Time when printer was created. Corresponds to the JSON property `createTime` @return [String]

description[RW]

Editable. Description of printer. Corresponds to the JSON property `description` @return [String]

display_name[RW]

Editable. Name of printer. Corresponds to the JSON property `displayName` @return [String]

id[RW]

Id of the printer. (During printer creation leave empty) Corresponds to the JSON property `id` @return [String]

make_and_model[RW]

Editable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response. Corresponds to the JSON property `makeAndModel` @return [String]

name[RW]

The resource name of the Printer object, in the format customers/`customer-id`/ printers/`printer-id` (During printer creation leave empty) Corresponds to the JSON property `name` @return [String]

org_unit_id[RW]

Organization Unit that owns this printer (Only can be set during Printer creation) Corresponds to the JSON property `orgUnitId` @return [String]

uri[RW]

Editable. Printer URI. Corresponds to the JSON property `uri` @return [String]

use_driverless_config[RW]

Editable. flag to use driverless configuration or not. If it's set to be true, make_and_model can be ignored Corresponds to the JSON property `useDriverlessConfig` @return [Boolean]

use_driverless_config?[RW]

Editable. flag to use driverless configuration or not. If it's set to be true, make_and_model can be ignored Corresponds to the JSON property `useDriverlessConfig` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 2951
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 2956
def update!(**args)
  @auxiliary_messages = args[:auxiliary_messages] if args.key?(:auxiliary_messages)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @id = args[:id] if args.key?(:id)
  @make_and_model = args[:make_and_model] if args.key?(:make_and_model)
  @name = args[:name] if args.key?(:name)
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
  @uri = args[:uri] if args.key?(:uri)
  @use_driverless_config = args[:use_driverless_config] if args.key?(:use_driverless_config)
end