ID Announcement, CourseWork, atau CourseWorkMaterial tempat lampiran dilampirkan. Kolom ini wajib ada, tetapi tidak ditandai seperti itu saat kami bermigrasi dari postId.
attachmentId
string
Wajib. ID lampiran.
Parameter kueri
Parameter
postId (deprecated)
string
Opsional. Tidak digunakan lagi, gunakan itemId sebagai gantinya.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-09-05 UTC."],[[["Deletes an add-on attachment, requiring the add-on to be the original creator."],["Requires providing course ID, item ID (Announcement, CourseWork, or CourseWorkMaterial), and attachment ID as path parameters."],["Uses a DELETE request to `https://classroom.googleapis.com/v1/courses/{courseId}/courseWork/{itemId}/addOnAttachments/{attachmentId}` and an empty request body."],["Needs `https://www.googleapis.com/auth/classroom.addons.teacher` OAuth scope for authorization."],["Returns an empty response body upon successful deletion, or error codes like `PERMISSION_DENIED`, `INVALID_ARGUMENT`, or `NOT_FOUND`."]]],[]]