class Google::Apis::PlusV1::Activity::Actor::Name
An object representation of the individual components of name.
Attributes
family_name[RW]
The family name (“last name”) of the actor. Corresponds to the JSON property `familyName` @return [String]
given_name[RW]
The given name (“first name”) of the actor. Corresponds to the JSON property `givenName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 324 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/plus_v1/classes.rb, line 329 def update!(**args) @family_name = args[:family_name] if args.key?(:family_name) @given_name = args[:given_name] if args.key?(:given_name) end