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]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/classroom_v1/classes.rb, line 326
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 331
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @email_address = args[:email_address] if args.key?(:email_address)
  @photo_url = args[:photo_url] if args.key?(:photo_url)
  @permissions = args[:permissions] if args.key?(:permissions)
end