Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

Response containing a summary printing report for each printer from the specified organizational unit for the requested time interval.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CountPrintJobsByPrinterResponse

Returns a new instance of GoogleChromeManagementV1CountPrintJobsByPrinterResponse.



1070
1071
1072
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1070

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

Pagination token for requesting the next page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1058
1059
1060
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1058

def next_page_token
  @next_page_token
end

#printer_reportsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport>

List of PrinterReports matching request. Corresponds to the JSON property printerReports



1063
1064
1065
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1063

def printer_reports
  @printer_reports
end

#total_sizeFixnum

Total number of printers matching request. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


1068
1069
1070
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1068

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1075
1076
1077
1078
1079
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1075

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @printer_reports = args[:printer_reports] if args.key?(:printer_reports)
  @total_size = args[:total_size] if args.key?(:total_size)
end