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.
2846 2847 2848 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2846 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
2837 2838 2839 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2837 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
2844 2845 2846 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2844 def printers @printers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2851 2852 2853 2854 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2851 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @printers = args[:printers] if args.key?(:printers) end |