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.



2648
2649
2650
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2648

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)


2621
2622
2623
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2621

def customer
  @customer
end

#nameString

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

Returns:

  • (String)


2626
2627
2628
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2626

def name
  @name
end

#org_unit_idString

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

Returns:

  • (String)


2631
2632
2633
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2631

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



2636
2637
2638
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2636

def user_device
  @user_device
end

#user_emailString

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

Returns:

  • (String)


2641
2642
2643
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2641

def user_email
  @user_email
end

#user_idString

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

Returns:

  • (String)


2646
2647
2648
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2646

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2653
2654
2655
2656
2657
2658
2659
2660
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2653

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