Google Classroom add-ons are now generally available to developers! Please see the add-ons documentation for more information.

REST Resource: courses.courseWork.addOnAttachments.studentSubmissions

Resource: AddOnAttachmentStudentSubmission

Payload for grade update requests.

JSON representation
{
 "pointsEarned": number,
 "postSubmissionState": enum (SubmissionState ),
 "userId": string
}
Fields
pointsEarned

number

Student grade on this attachment. If unset, no grade was set.

postSubmissionState

enum (SubmissionState )

Submission state of add-on attachment's parent post (i.e. assignment).

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.

Methods

get

Returns a student submission for an add-on attachment.

patch

Updates data associated with an add-on attachment submission.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年04月17日 UTC.