Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse
- 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 user that has initiated a print job with a printer from the specified organizational unit during the requested time interval.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Pagination token for requesting the next page.
-
#total_size ⇒ Fixnum
Total number of users matching request.
-
#user_print_reports ⇒ Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport>
List of UserPrintReports matching request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1CountPrintJobsByUserResponse
constructor
A new instance of GoogleChromeManagementV1CountPrintJobsByUserResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1CountPrintJobsByUserResponse
Returns a new instance of GoogleChromeManagementV1CountPrintJobsByUserResponse.
1290 1291 1292 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1290 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Pagination token for requesting the next page.
Corresponds to the JSON property nextPageToken
1278 1279 1280 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1278 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
Total number of users matching request.
Corresponds to the JSON property totalSize
1283 1284 1285 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1283 def total_size @total_size end |
#user_print_reports ⇒ Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport>
List of UserPrintReports matching request.
Corresponds to the JSON property userPrintReports
1288 1289 1290 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1288 def user_print_reports @user_print_reports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1295 1296 1297 1298 1299 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1295 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) @user_print_reports = args[:user_print_reports] if args.key?(:user_print_reports) end |