class Google::Apis::GamesV1::Player::Name

A representation of the individual components of the name.

Attributes

family_name[RW]

The family name of this player. In some places, this is known as the last name. Corresponds to the JSON property `familyName` @return [String]

given_name[RW]

The given name of this player. In some places, this is known as the first name. Corresponds to the JSON property `givenName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 1717
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/games_v1/classes.rb, line 1722
def update!(**args)
  @family_name = args[:family_name] if args.key?(:family_name)
  @given_name = args[:given_name] if args.key?(:given_name)
end