class Google::Apis::ClassroomV1beta1::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_v1beta1/classes.rb, line 295
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_v1beta1/classes.rb, line 300
def update!(**args)
  @given_name = args[:given_name] unless args[:given_name].nil?
  @family_name = args[:family_name] unless args[:family_name].nil?
  @full_name = args[:full_name] unless args[:full_name].nil?
end