Class: Google::Apis::AdminDirectoryV1::ListPrinterModelsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ListPrinterModelsResponse
- 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
Response for listing allowed printer models.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#printer_models ⇒ Array<Google::Apis::AdminDirectoryV1::PrinterModel>
Printer models that are currently allowed to be configured for ChromeOs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPrinterModelsResponse
constructor
A new instance of ListPrinterModelsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPrinterModelsResponse
Returns a new instance of ListPrinterModelsResponse.
2778 2779 2780 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2778 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
2770 2771 2772 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2770 def next_page_token @next_page_token end |
#printer_models ⇒ Array<Google::Apis::AdminDirectoryV1::PrinterModel>
Printer models that are currently allowed to be configured for ChromeOs. Some
printers may be added or removed over time.
Corresponds to the JSON property printerModels
2776 2777 2778 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2776 def printer_models @printer_models end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2783 2784 2785 2786 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2783 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @printer_models = args[:printer_models] if args.key?(:printer_models) end |