class Google::Apis::ClassroomV1::Name

Details of the user's name.

Attributes

family_name[RW]

The user's last name. Read-only. Corresponds to the JSON property `familyName` @return [String]

full_name[RW]

The user's full name formed by concatenating the first and last name values. Read-only. Corresponds to the JSON property `fullName` @return [String]

given_name[RW]

The user's first name. Read-only. Corresponds to the JSON property `givenName` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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