Class: Google::Apis::ContactcenteraiplatformV1alpha1::AdminUser
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContactcenteraiplatformV1alpha1::AdminUser
 
- 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
- 
  
    
      #family_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #given_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AdminUser 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AdminUser. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
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_name ⇒ String
Optional. Last/family name of the first admin user.
Corresponds to the JSON property familyName
| 32 33 34 | # File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 32 def family_name @family_name end | 
#given_name ⇒ String
Optional. First/given name of the first admin user.
Corresponds to the JSON property givenName
| 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 |