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.



4183
4184
4185
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4183

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

Instance Attribute Details

#emailString

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

Returns:

  • (String)


4176
4177
4178
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4176

def email
  @email
end

#org_unit_idString

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

Returns:

  • (String)


4181
4182
4183
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4181

def org_unit_id
  @org_unit_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4188
4189
4190
4191
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4188

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