class Google::Apis::PlusDomainsV1::Person::Name
An object representation of the individual components of a person's name.
Attributes
The family name (last name) of this person. Corresponds to the JSON property `familyName` @return [String]
The full name of this person, including middle names, suffixes, etc. Corresponds to the JSON property `formatted` @return [String]
The given name (first name) of this person. Corresponds to the JSON property `givenName` @return [String]
The honorific prefixes (such as “Dr.” or “Mrs.”) for this person. Corresponds to the JSON property `honorificPrefix` @return [String]
The honorific suffixes (such as “Jr.”) for this person. Corresponds to the JSON property `honorificSuffix` @return [String]
The middle name of this person. Corresponds to the JSON property `middleName` @return [String]
Public Class Methods
# File generated/google/apis/plus_domains_v1/classes.rb, line 2294 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# 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