CourseWork
import type { CourseWork } from "https://googleapis.deno.dev/v1/classroom:v1.ts";Course work created by a teacher for students of the course.
§Properties
Absolute link to this course work in the Classroom web UI. This is only
populated if state is PUBLISHED. Read-only.
Assignee mode of the coursework. If unspecified, the default value is
ALL_STUDENTS.
Assignment details. This is populated only when work_type is
ASSIGNMENT. Read-only.
Whether this course work item is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only.
Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters.
The category that this coursework's grade contributes to. Present only when a category has been chosen for the coursework. May be used in calculating the overall grade. Read-only.
Identifier of the grading period associated with the coursework. * At
creation, if unspecified, the grading period ID will be set based on the
dueDate (or scheduledTime if no dueDate is set). * To indicate no
association to any grading period, set this field to an empty string ("").
- If specified, it must match an existing grading period ID in the course.
Identifiers of students with access to the coursework. This field is set
only if assigneeMode is INDIVIDUAL_STUDENTS. If the assigneeMode is
INDIVIDUAL_STUDENTS, then only students specified in this field are
assigned the coursework.
Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.
Multiple choice question details. For read operations, this field is
populated only when work_type is MULTIPLE_CHOICE_QUESTION. For write
operations, this field must be specified when creating course work with a
work_type of MULTIPLE_CHOICE_QUESTION, and it must not be set
otherwise.
Status of this course work. If unspecified, the default state is DRAFT.
Setting to determine when students are allowed to modify submissions. If
unspecified, the default value is MODIFIABLE_UNTIL_TURNED_IN.
Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters.