[null,null,["最后更新时间 (UTC):2024-12-05。"],[[["This method is deprecated and you should use `course.announcements.addOnAttachments`, `course.courseWork.addOnAttachments`, or `course.courseWorkMaterials.addOnAttachments` instead."],["It creates an add-on attachment under a post, requiring add-on permission to create new attachments."],["The request body requires an `AddOnAttachment` object and the response, if successful, will contain the newly created `AddOnAttachment`."],["It needs the `https://www.googleapis.com/auth/classroom.addons.teacher` OAuth scope for authorization."],["Potential errors include `PERMISSION_DENIED`, `INVALID_ARGUMENT`, and `NOT_FOUND`."]]],[]]