Google Classroom 外掛程式現已全面開放開發人員使用!詳情請參閱
外掛程式說明文件。
REST Resource: courses.topics
資源:Topic
JSON 表示法 |
{
"courseId": string,
"topicId": string,
"name": string,
"updateTime": string
} |
欄位 |
courseId |
string
課程的 ID。 唯讀。
|
topicId |
string
主題的專屬 ID。 唯讀。
|
name |
string
使用者產生的主題名稱。開頭和結尾的空白字元 (如有) 會修剪。此外,多個連續的空白字元會在名稱內收合為一個空白字元。結果必須是非空白字串。主題名稱有大小寫之分,長度不得超過 100 個半形字元。
|
updateTime |
string (Timestamp format)
系統上次更新主題的時間。 唯讀。 RFC3339 世界標準時間「Zulu」的時間戳記格式,解析度為奈秒,且最多 9 個小數位數。範例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
方法 |
|
建立主題。 |
|
刪除主題。 |
|
傳回主題。 |
|
傳回要求者允許檢視的主題清單。 |
|
更新主題的一或多個欄位。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-27 (世界標準時間)。
[null,null,["上次更新時間:2025-02-27 (世界標準時間)。"],[[["Topics are resources created by teachers within a course and contain properties like courseId, topicId, name, and updateTime."],["Topic names are case-sensitive, must be under 100 characters, and have leading/trailing and consecutive whitespaces trimmed/collapsed."],["You can manage topics through methods like create, delete, get, list, and patch to perform various actions."]]],[]]