Class: Google::Apis::ClassroomV1::Name
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::Name
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
Details of the user's name.
Instance Attribute Summary collapse
- 
  
    
      #family_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The user's last name. 
- 
  
    
      #full_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The user's full name formed by concatenating the first and last name values. 
- 
  
    
      #given_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The user's first name. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Name 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Name. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Name
Returns a new instance of Name
| 1601 1602 1603 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1601 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#family_name ⇒ String
The user's last name.
Read-only.
Corresponds to the JSON property familyName
| 1586 1587 1588 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1586 def family_name @family_name end | 
#full_name ⇒ String
The user's full name formed by concatenating the first and last name
values.
Read-only.
Corresponds to the JSON property fullName
| 1593 1594 1595 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1593 def full_name @full_name end | 
#given_name ⇒ String
The user's first name.
Read-only.
Corresponds to the JSON property givenName
| 1599 1600 1601 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1599 def given_name @given_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1606 1607 1608 1609 1610 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1606 def update!(**args) @family_name = args[:family_name] if args.key?(:family_name) @full_name = args[:full_name] if args.key?(:full_name) @given_name = args[:given_name] if args.key?(:given_name) end |