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.



2735
2736
2737
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2735

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)


2708
2709
2710
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2708

def customer
  @customer
end

#nameString

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

Returns:

  • (String)


2713
2714
2715
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2713

def name
  @name
end

#org_unit_idString

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

Returns:

  • (String)


2718
2719
2720
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2718

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



2723
2724
2725
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2723

def user_device
  @user_device
end

#user_emailString

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

Returns:

  • (String)


2728
2729
2730
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2728

def user_email
  @user_email
end

#user_idString

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

Returns:

  • (String)


2733
2734
2735
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2733

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2740
2741
2742
2743
2744
2745
2746
2747
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2740

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