class Google::Apis::ClassroomV1beta1::Student
Student in a course.
Attributes
course_id[RW]
Unique 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::ClassroomV1beta1::UserProfile]
user_id[RW]
The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the student. The following are supported: * the e-mail address of the user * the string literal `“me”`, indicating that the requesting user Corresponds to the JSON property `userId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/classroom_v1beta1/classes.rb, line 408 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 413 def update!(**args) @course_id = args[:course_id] unless args[:course_id].nil? @user_id = args[:user_id] unless args[:user_id].nil? @profile = args[:profile] unless args[:profile].nil? end