Optional. Verworfen, verwenden Sie stattdessen itemId.
attachmentId
string
Erforderlich. ID des Anhangs.
submissionId
string
Erforderlich. ID der abgegebenen Aufgabe des Schülers/Studenten.
Abfrageparameter
Parameter
itemId
string
ID des Announcement, CourseWork oder CourseWorkMaterial, unter dem der Anhang angehängt ist. Dieses Feld ist erforderlich, ist aber bei der Migration von postId nicht entsprechend gekennzeichnet.
Erforderlich. Maske, die angibt, welche Felder im Anhang aktualisiert werden sollen. Die Aktualisierung schlägt fehl, wenn ungültige Felder angegeben werden. Wenn ein Feld leere Werte unterstützt, können Sie es löschen, indem Sie es in der Aktualisierungsmaske und nicht im AddOnAttachmentStudentSubmission-Objekt angeben.
Die folgenden Felder können von Lehrkräften angegeben werden:
pointsEarned
Dies ist eine durch Kommas getrennte Liste vollständig qualifizierter Feldnamen. Beispiel: "user.displayName,photo".
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-02-27 (UTC)."],[[["This method updates data associated with an add-on attachment submission, requiring the add-on to be the original creator and the attachment to have a positive `maxPoints` value."],["It's deprecated; use `course.announcements.addOnAttachments.studentSubmissions`, `course.courseWork.addOnAttachments.studentSubmissions`, or `course.courseWorkMaterials.addOnAttachments.studentSubmissions` instead."],["Teachers can update fields like `pointsEarned` through specifying them in the `updateMask` and providing the `AddOnAttachmentStudentSubmission` object."],["The request requires authorization with the `https://www.googleapis.com/auth/classroom.addons.teacher` scope."],["Potential errors include `PERMISSION_DENIED`, `INVALID_ARGUMENT`, and `NOT_FOUND`."]]],[]]