Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport
- 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
Report for CountPrintJobsByPrinter, contains statistics on printer usage. Contains the total number of print jobs initiated with this printer, the number of users and the number of devices that have initiated at least one print job with this printer.
Instance Attribute Summary collapse
-
#device_count ⇒ Fixnum
Number of chrome devices that have been used to send print jobs to the specified printer.
-
#job_count ⇒ Fixnum
Number of print jobs sent to the printer.
-
#printer ⇒ String
Printer name.
-
#printer_id ⇒ String
Printer API ID.
-
#printer_model ⇒ String
Printer model.
-
#user_count ⇒ Fixnum
Number of users that have sent print jobs to the printer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1PrinterReport
constructor
A new instance of GoogleChromeManagementV1PrinterReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1PrinterReport
Returns a new instance of GoogleChromeManagementV1PrinterReport.
2254 2255 2256 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2254 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_count ⇒ Fixnum
Number of chrome devices that have been used to send print jobs to the
specified printer.
Corresponds to the JSON property deviceCount
2227 2228 2229 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2227 def device_count @device_count end |
#job_count ⇒ Fixnum
Number of print jobs sent to the printer.
Corresponds to the JSON property jobCount
2232 2233 2234 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2232 def job_count @job_count end |
#printer ⇒ String
Printer name.
Corresponds to the JSON property printer
2237 2238 2239 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2237 def printer @printer end |
#printer_id ⇒ String
Printer API ID.
Corresponds to the JSON property printerId
2242 2243 2244 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2242 def printer_id @printer_id end |
#printer_model ⇒ String
Printer model.
Corresponds to the JSON property printerModel
2247 2248 2249 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2247 def printer_model @printer_model end |
#user_count ⇒ Fixnum
Number of users that have sent print jobs to the printer.
Corresponds to the JSON property userCount
2252 2253 2254 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2252 def user_count @user_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2259 2260 2261 2262 2263 2264 2265 2266 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2259 def update!(**args) @device_count = args[:device_count] if args.key?(:device_count) @job_count = args[:job_count] if args.key?(:job_count) @printer = args[:printer] if args.key?(:printer) @printer_id = args[:printer_id] if args.key?(:printer_id) @printer_model = args[:printer_model] if args.key?(:printer_model) @user_count = args[:user_count] if args.key?(:user_count) end |