Optional. Verworfen, verwenden Sie stattdessen itemId.
attachmentId
string
Erforderlich. Kennung des Anhangs.
submissionId
string
Erforderlich. Kennung der Aufgabe des Schülers/Studenten.
Abfrageparameter
Parameter
itemId
string
Kennung der Announcement, CourseWork oder CourseWorkMaterial, unter der der Anhang angehängt ist. Dieses Feld ist erforderlich, wird aber während der Migration von postId nicht als solches 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, kann es gelöscht werden, indem es in der Aktualisierungsmaske und nicht im AddOnAttachmentStudentSubmission-Objekt angegeben wird.
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: 2024-12-05 (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`."]]],[]]