Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse

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 user that has initiated a print job with a printer from the specified organizational unit during the requested time interval.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokenString

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

Returns:

  • (String)


1153
1154
1155
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1153

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


1158
1159
1160
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1158

def total_size
  @total_size
end

#user_print_reportsArray<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