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.



3819
3820
3821
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3819

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

Instance Attribute Details

#emailString

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

Returns:

  • (String)


3812
3813
3814
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3812

def email
  @email
end

#org_unit_idString

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

Returns:

  • (String)


3817
3818
3819
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3817

def org_unit_id
  @org_unit_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3824
3825
3826
3827
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3824

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