class Google::Apis::ClassroomV1::Teacher
Teacher of 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]
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 generated/google/apis/classroom_v1/classes.rb, line 413 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 418 def update!(**args) @course_id = args[:course_id] if args.key?(:course_id) @user_id = args[:user_id] if args.key?(:user_id) @profile = args[:profile] if args.key?(:profile) end