class Google::Apis::ClassroomV1::Student

Student in a course.

Attributes

course_id[RW]

Identifier of the course. Read-only. Corresponds to the JSON property `courseId` @return [String]

profile[RW]

Global information for a user. Corresponds to the JSON property `profile` @return [Google::Apis::ClassroomV1::UserProfile]

student_work_folder[RW]

Representation of a Google Drive folder. Corresponds to the JSON property `studentWorkFolder` @return [Google::Apis::ClassroomV1::DriveFolder]

user_id[RW]

Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `“me”`, indicating the requesting user Corresponds to the JSON property `userId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 1897
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 1902
def update!(**args)
  @course_id = args[:course_id] if args.key?(:course_id)
  @profile = args[:profile] if args.key?(:profile)
  @student_work_folder = args[:student_work_folder] if args.key?(:student_work_folder)
  @user_id = args[:user_id] if args.key?(:user_id)
end