Class: Google::Apis::ContactcenteraiplatformV1alpha1::AdminUser

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

Overview

Message storing info about the first admin user. Next ID: 3

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdminUser

Returns a new instance of AdminUser.



39
40
41
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 39

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

Instance Attribute Details

#family_nameString

Optional. Last/family name of the first admin user. Corresponds to the JSON property familyName

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 32

def family_name
  @family_name
end

#given_nameString

Optional. First/given name of the first admin user. Corresponds to the JSON property givenName

Returns:

  • (String)


37
38
39
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 37

def given_name
  @given_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
47
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 44

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