Class: Google::Apis::PlusDomainsV1::Person::Name
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PlusDomainsV1::Person::Name
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_domains_v1/classes.rb,
 generated/google/apis/plus_domains_v1/representations.rb,
 generated/google/apis/plus_domains_v1/representations.rb
Overview
An object representation of the individual components of a person's name.
Instance Attribute Summary collapse
- 
  
    
      #family_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The family name (last name) of this person. 
- 
  
    
      #formatted  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The full name of this person, including middle names, suffixes, etc. 
- 
  
    
      #given_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The given name (first name) of this person. 
- 
  
    
      #honorific_prefix  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The honorific prefixes (such as "Dr." or "Mrs.") for this person. 
- 
  
    
      #honorific_suffix  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The honorific suffixes (such as "Jr.") for this person. 
- 
  
    
      #middle_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The middle name of this person. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Name 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Name. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Name
Returns a new instance of Name
| 2294 2295 2296 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2294 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#family_name ⇒ String
The family name (last name) of this person.
Corresponds to the JSON property familyName
| 2267 2268 2269 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2267 def family_name @family_name end | 
#formatted ⇒ String
The full name of this person, including middle names, suffixes, etc.
Corresponds to the JSON property formatted
| 2272 2273 2274 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2272 def formatted @formatted end | 
#given_name ⇒ String
The given name (first name) of this person.
Corresponds to the JSON property givenName
| 2277 2278 2279 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2277 def given_name @given_name end | 
#honorific_prefix ⇒ String
The honorific prefixes (such as "Dr." or "Mrs.") for this person.
Corresponds to the JSON property honorificPrefix
| 2282 2283 2284 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2282 def honorific_prefix @honorific_prefix end | 
#honorific_suffix ⇒ String
The honorific suffixes (such as "Jr.") for this person.
Corresponds to the JSON property honorificSuffix
| 2287 2288 2289 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2287 def honorific_suffix @honorific_suffix end | 
#middle_name ⇒ String
The middle name of this person.
Corresponds to the JSON property middleName
| 2292 2293 2294 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2292 def middle_name @middle_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2299 2300 2301 2302 2303 2304 2305 2306 | # File 'generated/google/apis/plus_domains_v1/classes.rb', line 2299 def update!(**args) @family_name = args[:family_name] if args.key?(:family_name) @formatted = args[:formatted] if args.key?(:formatted) @given_name = args[:given_name] if args.key?(:given_name) @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) @middle_name = args[:middle_name] if args.key?(:middle_name) end |