Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo

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

Information about a user associated with telemetry data. * Granular permission needed: TELEMETRY_API_USER

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryUserInfo

Returns a new instance of GoogleChromeManagementV1TelemetryUserInfo.



3723
3724
3725
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3723

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

Instance Attribute Details

#emailString

Output only. User's email. Corresponds to the JSON property email

Returns:

  • (String)


3716
3717
3718
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3716

def email
  @email
end

#org_unit_idString

Output only. Organization unit ID of the user. Corresponds to the JSON property orgUnitId

Returns:

  • (String)


3721
3722
3723
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3721

def org_unit_id
  @org_unit_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3728
3729
3730
3731
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3728

def update!(**args)
  @email = args[:email] if args.key?(:email)
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
end