Class: Google::Apis::AdminDirectoryV1::Printer
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Printer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
Overview
Printer configuration.
Instance Attribute Summary collapse
-
#auxiliary_messages ⇒ Array<Google::Apis::AdminDirectoryV1::AuxiliaryMessage>
Output only.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Editable.
-
#display_name ⇒ String
Editable.
-
#id ⇒ String
Id of the printer.
-
#make_and_model ⇒ String
Editable.
-
#name ⇒ String
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 propertyname. -
#org_unit_id ⇒ String
Organization Unit that owns this printer (Only can be set during Printer creation) Corresponds to the JSON property
orgUnitId. -
#uri ⇒ String
Editable.
-
#use_driverless_config ⇒ Boolean
(also: #use_driverless_config?)
Editable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Printer
constructor
A new instance of Printer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Printer
Returns a new instance of Printer.
3059 3060 3061 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3059 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auxiliary_messages ⇒ Array<Google::Apis::AdminDirectoryV1::AuxiliaryMessage>
Output only. Auxiliary messages about issues with the printer configuration if
any.
Corresponds to the JSON property auxiliaryMessages
3007 3008 3009 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3007 def @auxiliary_messages end |
#create_time ⇒ String
Output only. Time when printer was created.
Corresponds to the JSON property createTime
3012 3013 3014 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3012 def create_time @create_time end |
#description ⇒ String
Editable. Description of printer.
Corresponds to the JSON property description
3017 3018 3019 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3017 def description @description end |
#display_name ⇒ String
Editable. Name of printer.
Corresponds to the JSON property displayName
3022 3023 3024 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3022 def display_name @display_name end |
#id ⇒ String
Id of the printer. (During printer creation leave empty)
Corresponds to the JSON property id
3027 3028 3029 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3027 def id @id end |
#make_and_model ⇒ String
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
3033 3034 3035 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3033 def make_and_model @make_and_model end |
#name ⇒ String
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
3039 3040 3041 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3039 def name @name end |
#org_unit_id ⇒ String
Organization Unit that owns this printer (Only can be set during Printer
creation)
Corresponds to the JSON property orgUnitId
3045 3046 3047 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3045 def org_unit_id @org_unit_id end |
#uri ⇒ String
Editable. Printer URI.
Corresponds to the JSON property uri
3050 3051 3052 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3050 def uri @uri end |
#use_driverless_config ⇒ Boolean Also known as: use_driverless_config?
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
3056 3057 3058 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3056 def use_driverless_config @use_driverless_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3064 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 |