Class: Google::Apis::PlusDomainsV1::Activity::Actor::Name
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PlusDomainsV1::Activity::Actor::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 name.
Instance Attribute Summary collapse
- 
  
    
      #family_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The family name ("last name") of the actor.
 - 
  
    
      #given_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The given name ("first name") of the actor.
 
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
      331 332 333  | 
    
      # File 'generated/google/apis/plus_domains_v1/classes.rb', line 331 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#family_name ⇒ String
The family name ("last name") of the actor.
Corresponds to the JSON property familyName
      324 325 326  | 
    
      # File 'generated/google/apis/plus_domains_v1/classes.rb', line 324 def family_name @family_name end  | 
  
#given_name ⇒ String
The given name ("first name") of the actor.
Corresponds to the JSON property givenName
      329 330 331  | 
    
      # File 'generated/google/apis/plus_domains_v1/classes.rb', line 329 def given_name @given_name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      336 337 338 339  | 
    
      # File 'generated/google/apis/plus_domains_v1/classes.rb', line 336 def update!(**args) @family_name = args[:family_name] if args.key?(:family_name) @given_name = args[:given_name] if args.key?(:given_name) end  |