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.
1165 1166 1167 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1165 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
1153 1154 1155 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1153 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
Total number of users matching request.
Corresponds to the JSON property totalSize
1158 1159 1160 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1158 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
1163 1164 1165 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1163 def user_print_reports @user_print_reports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1170 1171 1172 1173 1174 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1170 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 |