Opsional. Tidak digunakan lagi, gunakan itemId sebagai gantinya.
attachmentId
string
Wajib. ID lampiran.
Parameter kueri
Parameter
itemId
string
ID Announcement, CourseWork, atau CourseWorkMaterial tempat lampiran dilampirkan. Kolom ini wajib ada, tetapi tidak ditandai seperti itu saat kami bermigrasi dari postId.
[null,null,["Terakhir diperbarui pada 2025-02-27 UTC."],[[["This method is deprecated and should be replaced with `course.announcements.addOnAttachments`, `course.courseWork.addOnAttachments`, or `course.courseWorkMaterials.addOnAttachments`."],["It deletes an add-on attachment, requiring the add-on to be the original creator."],["Requires authorization with the `https://www.googleapis.com/auth/classroom.addons.teacher` scope."],["Potential errors include `PERMISSION_DENIED`, `INVALID_ARGUMENT`, and `NOT_FOUND`."],["The request body should be empty, and a successful response will also be empty."]]],[]]