Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1UserPrintReport

Returns a new instance of GoogleChromeManagementV1UserPrintReport.



4338
4339
4340
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4338

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_countFixnum

Number of chrome devices that have been used to initiate print jobs by the user. Corresponds to the JSON property deviceCount

Returns:

  • (Fixnum)


4316
4317
4318
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4316

def device_count
  @device_count
end

#job_countFixnum

Number of print jobs initiated by the user. Corresponds to the JSON property jobCount

Returns:

  • (Fixnum)


4321
4322
4323
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4321

def job_count
  @job_count
end

#printer_countFixnum

Number of printers used by the user. Corresponds to the JSON property printerCount

Returns:

  • (Fixnum)


4326
4327
4328
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4326

def printer_count
  @printer_count
end

#user_emailString

The primary e-mail address of the user. Corresponds to the JSON property userEmail

Returns:

  • (String)


4331
4332
4333
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4331

def user_email
  @user_email
end

#user_idString

The unique Directory API ID of the user. Corresponds to the JSON property userId

Returns:

  • (String)


4336
4337
4338
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4336

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4343
4344
4345
4346
4347
4348
4349
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4343

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