class Google::Apis::ClassroomV1beta1::UserProfile
Global information for a user.
Attributes
email_address[RW]
E-mail address of the user. Read-only Corresponds to the JSON property `emailAddress` @return [String]
id[RW]
Unique identifier of the user. Read-only Corresponds to the JSON property `id` @return [String]
name[RW]
Details of the user's name. Corresponds to the JSON property `name` @return [Google::Apis::ClassroomV1beta1::Name]
permissions[RW]
Global permissions of the user. Read-only Corresponds to the JSON property `permissions` @return [Array<Google::Apis::ClassroomV1beta1::GlobalPermission>]
photo_url[RW]
Url of user's profile photo. Read-only Corresponds to the JSON property `photoUrl` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/classroom_v1beta1/classes.rb, line 261 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 266 def update!(**args) @id = args[:id] unless args[:id].nil? @name = args[:name] unless args[:name].nil? @email_address = args[:email_address] unless args[:email_address].nil? @photo_url = args[:photo_url] unless args[:photo_url].nil? @permissions = args[:permissions] unless args[:permissions].nil? end