Google Classroom 外掛程式現已全面開放開發人員使用!詳情請參閱
外掛程式說明文件 。
提供意見
AddOnContext
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
特定訊息情境中,Classroom 外掛程式的附件相關中繼資料。
JSON 表示法
{
"courseId" : string ,
"postId" : string ,
"itemId" : string ,
"supportsStudentWork" : boolean ,
// Union field context
can be only one of the following:
"studentContext" : {
object (StudentContext
)
} ,
"teacherContext" : {
object (TeacherContext
)
}
// End of list of possible types for union field context
.
}
欄位
courseId
string
不可變動。課程的 ID。
postId(deprecated)
string
不可變動。已淘汰,請改用 itemId。
itemId
string
不可變動。附加附件中的公告、CourseWork 或 courseWorkMaterial ID。
supportsStudentWork
boolean
選用設定。是否允許老師查看學生作業和回傳成績。
聯集欄位 context
。
context
只能採用下列其中一種設定:
studentContext
object (StudentContext
)
與提出要求的使用者角色對應的附加內容。因為出現要求的使用者為課程中的學生。
teacherContext
object (TeacherContext
)
與提出要求的使用者 (做為老師) 角色對應的附加背景資訊。因為出現這種情況,代表提出要求的使用者是課程中的老師。
StudentContext
JSON 表示法
{
"submissionId" : string
}
欄位
submissionId
string
要求提供使用者繳交 ID,以便將成績傳回成績,以及在向老師顯示學生作業時指明學生。這是在 supportsStudentWork
為 true
時設定的確切值。
TeacherContext
這個類型沒有任何欄位。
如果提出要求的使用者是老師,則為特定角色的背景資訊。
提供意見
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權 ,程式碼範例則為阿帕契 2.0 授權 。詳情請參閱《Google Developers 網站政策 》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-22 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
想進一步說明嗎?
{"lastModified": "\u4e0a\u6b21\u66f4\u65b0\u6642\u9593\uff1a2024-08-22 (\u4e16\u754c\u6a19\u6e96\u6642\u9593)\u3002"}
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-22 (世界標準時間)。"]]