Google Classroom add-ons are now generally available to developers! Please see the
add-ons documentation for more information.
REST Resource: courses.teachers
Resource: Teacher
JSON representation |
{
"courseId": string,
"userId": string,
"profile": {
object (UserProfile )
}
} |
Fields |
courseId |
string
Identifier of the course. Read-only.
|
userId |
string
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
|
profile |
object (UserProfile )
Global user information for the teacher. Read-only.
|
Methods |
|
Creates a teacher of a course. |
|
Removes the specified teacher from the specified course. |
|
Returns a teacher of a course. |
|
Returns a list of teachers of this course that the requester is permitted to view. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 UTC."],[[["The Teacher resource represents a teacher associated with a specific course and includes identifying information for both the course and the teacher."],["Teachers can be created, deleted, retrieved individually, or listed for a course using the provided methods."],["A Teacher resource includes a `profile` field that provides detailed information about the teacher, linked to the UserProfile resource."],["Teacher information is read-only, with unique identifiers for both the course (`courseId`) and the teacher (`userId`)."]]],[]]