Google Classroom 外掛程式現已全面開放開發人員使用!詳情請參閱
外掛程式說明文件。
REST Resource: courses.teachers
資源:老師
JSON 表示法 |
{
"courseId": string,
"userId": string,
"profile": {
object (UserProfile )
}
} |
欄位 |
courseId |
string
課程的 ID。 唯讀。
|
userId |
string
使用者的 ID。 如果指定為要求的參數,這個 ID 可以是下列其中一個:
- 使用者的數字 ID
- 使用者的電子郵件地址
- 字串常值
"me" ,表示提出要求的使用者
|
profile |
object (UserProfile )
教師的全球使用者資訊。 唯讀。
|
方法 |
|
建立課程老師。 |
|
將指定的老師從指定課程中移除。 |
|
傳回課程的老師。 |
|
傳回本課程的老師清單,讓要求者檢視權限。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-27 (世界標準時間)。
[null,null,["上次更新時間:2025-02-27 (世界標準時間)。"],[[["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`)."]]],[]]