class Google::Apis::ClassroomV1::UserProfile

Global information for a user.

Attributes

email_address[RW]

Email address of the user. Read-only. Corresponds to the JSON property `emailAddress` @return [String]

id[RW]

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::ClassroomV1::Name]

permissions[RW]

Global permissions of the user. Read-only. Corresponds to the JSON property `permissions` @return [Array<Google::Apis::ClassroomV1::GlobalPermission>]

photo_url[RW]

URL of user's profile photo. Read-only. Corresponds to the JSON property `photoUrl` @return [String]

verified_teacher[RW]

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]

verified_teacher?[RW]

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

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

Public Instance Methods

update!(**args) click to toggle source

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