Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser

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

Telemetry data collected from a managed user. * Granular permission needed: TELEMETRY_API_USER

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryUser

Returns a new instance of GoogleChromeManagementV1TelemetryUser.



3568
3569
3570
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3568

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

Instance Attribute Details

#customerString

G Suite Customer whose enterprise enrolled the device. Corresponds to the JSON property customer

Returns:

  • (String)


3541
3542
3543
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3541

def customer
  @customer
end

#nameString

Resource name of the user. Corresponds to the JSON property name

Returns:

  • (String)


3546
3547
3548
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3546

def name
  @name
end

#org_unit_idString

Organization unit of the user. Corresponds to the JSON property orgUnitId

Returns:

  • (String)


3551
3552
3553
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3551

def org_unit_id
  @org_unit_id
end

#user_deviceArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserDevice>

Telemetry data collected from a managed user and device. Corresponds to the JSON property userDevice



3556
3557
3558
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3556

def user_device
  @user_device
end

#user_emailString

Email address of the user. Corresponds to the JSON property userEmail

Returns:

  • (String)


3561
3562
3563
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3561

def user_email
  @user_email
end

#user_idString

Directory ID of the user. Corresponds to the JSON property userId

Returns:

  • (String)


3566
3567
3568
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3566

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3573
3574
3575
3576
3577
3578
3579
3580
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3573

def update!(**args)
  @customer = args[:customer] if args.key?(:customer)
  @name = args[:name] if args.key?(:name)
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
  @user_device = args[:user_device] if args.key?(:user_device)
  @user_email = args[:user_email] if args.key?(:user_email)
  @user_id = args[:user_id] if args.key?(:user_id)
end