StudentSubmission
import type { StudentSubmission } from "https://googleapis.deno.dev/v1/classroom:v1.ts";
Student submission for course work. StudentSubmission
items are generated
when a CourseWork
item is created. Student submissions that have never been
accessed (i.e. with state
= NEW) may not have a creation time or update
time.
§Properties
Optional grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This may be modified only by course teachers.
Assigned rubric grades based on the rubric's Criteria. This map is empty if there is no rubric attached to this course work or if a rubric is attached, but no grades have been set on any Criteria. Entries are only populated for grades that have been set. Key: The rubric's criterion ID. Read-only.
Submission content when course_work_type is ASSIGNMENT. Students can modify this content using ModifyAttachments.
Whether this student submission is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only.
Type of course work this submission is for. Read-only.
Optional pending grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This is only visible to and modifiable by course teachers.
Pending rubric grades based on the rubric's criteria. This map is empty if there is no rubric attached to this course work or if a rubric is attached, but no grades have been set on any criteria. Entries are only populated for grades that have been set. Key: The rubric's criterion ID. Read-only.
Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.
Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.
Submission content when course_work_type is SHORT_ANSWER_QUESTION.
State of this submission. Read-only.
The history of the submission (includes state and grade histories). Read-only.