class Google::Apis::ClassroomV1::UserProfile
Global information for a user.
Attributes
Email address of the user. Read-only. Corresponds to the JSON property `emailAddress` @return [String]
Identifier of the user. Read-only. Corresponds to the JSON property `id` @return [String]
Details of the user's name. Corresponds to the JSON property `name` @return [Google::Apis::ClassroomV1::Name]
Global permissions of the user. Read-only. Corresponds to the JSON property `permissions` @return [Array<Google::Apis::ClassroomV1::GlobalPermission>]
URL of user's profile photo. Read-only. Corresponds to the JSON property `photoUrl` @return [String]
Represents whether a G Suite for Education user's domain administrator has explicitly verified them as being a teacher. If the user is not a member of a G Suite for Education domain, than this field is always false. Read-only Corresponds to the JSON property `verifiedTeacher` @return [Boolean]
Represents whether a G Suite for Education user's domain administrator has explicitly verified them as being a teacher. If the user is not a member of a G Suite for Education domain, than this field is always false. Read-only Corresponds to the JSON property `verifiedTeacher` @return [Boolean]
Public Class Methods
# File lib/google/apis/classroom_v1/classes.rb, line 2229 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/classroom_v1/classes.rb, line 2234 def update!(**args) @email_address = args[:email_address] if args.key?(:email_address) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @permissions = args[:permissions] if args.key?(:permissions) @photo_url = args[:photo_url] if args.key?(:photo_url) @verified_teacher = args[:verified_teacher] if args.key?(:verified_teacher) end