Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport
- 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 CountPrintJobsByUser, contains printing statistics for a user. Contains the number of printers, the number of devices used to initiate print jobs, and the number of print jobs initiated.
Instance Attribute Summary collapse
-
#device_count ⇒ Fixnum
Number of chrome devices that have been used to initiate print jobs by the user.
-
#job_count ⇒ Fixnum
Number of print jobs initiated by the user.
-
#printer_count ⇒ Fixnum
Number of printers used by the user.
-
#user_email ⇒ String
The primary e-mail address of the user.
-
#user_id ⇒ String
The unique Directory API ID of the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1UserPrintReport
constructor
A new instance of GoogleChromeManagementV1UserPrintReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1UserPrintReport
Returns a new instance of GoogleChromeManagementV1UserPrintReport.
4051 4052 4053 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4051 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_count ⇒ Fixnum
Number of chrome devices that have been used to initiate print jobs by the
user.
Corresponds to the JSON property deviceCount
4029 4030 4031 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4029 def device_count @device_count end |
#job_count ⇒ Fixnum
Number of print jobs initiated by the user.
Corresponds to the JSON property jobCount
4034 4035 4036 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4034 def job_count @job_count end |
#printer_count ⇒ Fixnum
Number of printers used by the user.
Corresponds to the JSON property printerCount
4039 4040 4041 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4039 def printer_count @printer_count end |
#user_email ⇒ String
The primary e-mail address of the user.
Corresponds to the JSON property userEmail
4044 4045 4046 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4044 def user_email @user_email end |
#user_id ⇒ String
The unique Directory API ID of the user.
Corresponds to the JSON property userId
4049 4050 4051 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4049 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4056 4057 4058 4059 4060 4061 4062 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4056 def update!(**args) @device_count = args[:device_count] if args.key?(:device_count) @job_count = args[:job_count] if args.key?(:job_count) @printer_count = args[:printer_count] if args.key?(:printer_count) @user_email = args[:user_email] if args.key?(:user_email) @user_id = args[:user_id] if args.key?(:user_id) end |