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
変更不可。コースの識別子。
postId(deprecated)
string
変更不可。非推奨。代わりに itemId を使用してください。
itemId
string
変更不可。添付ファイルが添付されているお知らせ、courseWork、または courseWorkMaterial の識別子。
supportsStudentWork
boolean
省略可。投稿により、教師が生徒の課題を確認したり成績を送信したりできるかどうか。
共用体フィールド context
。
context
は次のいずれかになります。
studentContext
object (StudentContext
)
リクエストしているユーザーの生徒としてのロールに対応するアドオン コンテキスト。このプロパティが存在する場合は、リクエスト元のユーザーがコースの受講者であることがわかります。
teacherContext
object (TeacherContext
)
リクエストしているユーザーの教師としてのロールに対応するアドオン コンテキスト。このプロパティが存在する場合は、リクエスト元のユーザーがコースの教師であることを意味します。
StudentContext
ロール固有のコンテキスト(リクエスト ユーザーが生徒の場合)。
JSON 表現
{
"submissionId" : string
}
フィールド
submissionId
string
成績を送信したり、生徒の提出物を教師に見せたりする際に生徒を特定するために、ユーザーの提出 ID をリクエストします。これは、supportsStudentWork
が true
のときに正確に設定されます。
TeacherContext
この型にはフィールドがありません。
ロール固有のコンテキスト(リクエスト ユーザーが教師の場合)。
フィードバックを送信
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンス により使用許諾されます。コードサンプルは Apache 2.0 ライセンス により使用許諾されます。詳しくは、Google Developers サイトのポリシー をご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[{
"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": "\u6700\u7d42\u66f4\u65b0\u65e5 2024-08-22 UTC\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 UTC。"]]