class Google::Apis::AdminDirectoryV1::ListPrintersResponse

Response for listing printers.

Attributes

next_page_token[RW]

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` @return [String]

printers[RW]

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 given in the request, then all printers will be returned. Corresponds to the JSON property `printers` @return [Array<Google::Apis::AdminDirectoryV1::Printer>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 2234
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 2239
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @printers = args[:printers] if args.key?(:printers)
end