Opcjonalnie: Wycofane. Zamiast tego używaj elementu itemId.
attachmentId
string
Wymagane. Identyfikator załącznika.
submissionId
string
Wymagane. Identyfikator zadania ucznia.
Parametry zapytania
Parametry
itemId
string
Identyfikator Announcement, CourseWork lub CourseWorkMaterial, pod którym załącznik jest załączony. To pole jest wymagane, ale nie jest oznaczone jako takie podczas migracji z postId.
Wymagane. Maska, która wskazuje, które pola w załączniku mają zostać zaktualizowane. Jeśli podasz nieprawidłowe pola, aktualizacja się nie powiedzie. Jeśli pole obsługuje puste wartości, można je wyczyścić, określając je w masce aktualizacji, a nie w obiekcie AddOnAttachmentStudentSubmission.
Nauczyciele mogą określić te pola:
pointsEarned
Jest to lista pełnych nazw pól rozdzielona przecinkami. Przykład: "user.displayName,photo".
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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`."]]],[]]