Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UserInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

Information about a user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1UserInfo

Returns a new instance of GoogleCloudContactcenterinsightsV1UserInfo.



7332
7333
7334
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7332

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

Instance Attribute Details

#usernameString

The user's username. Corresponds to the JSON property username

Returns:

  • (String)


7330
7331
7332
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7330

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7337
7338
7339
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7337

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