Class: Google::Apis::AdminDirectoryV1::ListPrintersResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::ListPrintersResponse
- 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 printers.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#printers ⇒ Array<Google::Apis::AdminDirectoryV1::Printer>
List of printers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPrintersResponse
constructor
A new instance of ListPrintersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPrintersResponse
Returns a new instance of ListPrintersResponse.
2806 2807 2808 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2806 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
2797 2798 2799 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2797 def next_page_token @next_page_token end |
#printers ⇒ Array<Google::Apis::AdminDirectoryV1::Printer>
List of printers. If org_unit_id
was given in the request, then only
printers visible for this OU will be returned. If org_unit_id
was not given
in the request, then all printers will be returned.
Corresponds to the JSON property printers
2804 2805 2806 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2804 def printers @printers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2811 2812 2813 2814 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2811 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @printers = args[:printers] if args.key?(:printers) end |