Google Classroom アドオンの一般提供が開始されました。詳しくは、
アドオンのドキュメントをご覧ください。
REST Resource: courses.courseWork.addOnAttachments.studentSubmissions
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リソース: AddOnAttachmentStudentSubmission
JSON 表現 |
{
"pointsEarned": number,
"postSubmissionState": enum (SubmissionState ),
"userId": string
} |
フィールド |
pointsEarned |
number
この添付ファイルに対する生徒の成績。設定されていない場合は、成績が設定されていません。
|
postSubmissionState |
enum (SubmissionState )
アドオンの添付ファイルの親投稿(課題)の送信ステータス。
|
userId |
string
この提出物の所有者である生徒の ID。 このフィールドは試験運用版の API 変更の一部であり、十分なスコープが付与されている場合にのみ入力されます。
|
メソッド |
|
アドオン アタッチメントの生徒の提出物を返します。 |
|
アドオン添付ファイルの送信に関連付けられたデータを更新します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# REST Resource: courses.courseWork.addOnAttachments.studentSubmissions\n\n- [Resource: AddOnAttachmentStudentSubmission](#AddOnAttachmentStudentSubmission)\n - [JSON representation](#AddOnAttachmentStudentSubmission.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AddOnAttachmentStudentSubmission\n------------------------------------------\n\nPayload for grade update requests.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"pointsEarned\": number, \"postSubmissionState\": enum (/workspace/classroom/reference/rest/v1/SubmissionState), \"userId\": string } ``` |\n\n| Fields ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pointsEarned` | `number` Student grade on this attachment. If unset, no grade was set. |\n| `postSubmissionState` | `enum (`[SubmissionState](/workspace/classroom/reference/rest/v1/SubmissionState)`)` Submission state of add-on attachment's parent post (i.e. assignment). |\n| `userId` | `string` Identifier for the student that owns this submission. This field is part of an experimental API change and is populated only if sufficient scopes are granted. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| ### [get](/workspace/classroom/reference/rest/v1/courses.courseWork.addOnAttachments.studentSubmissions/get) | Returns a student submission for an add-on attachment. |\n| ### [patch](/workspace/classroom/reference/rest/v1/courses.courseWork.addOnAttachments.studentSubmissions/patch) | Updates data associated with an add-on attachment submission. |"]]