Modifies assignee mode and options of an announcement. Only a teacher of the course that contains the announcement may call this method.
gc_courses_announcements_modify_assignees( ModifyAnnouncementAssigneesRequest, courseId, id )
| ModifyAnnouncementAssigneesRequest | The gc_modify_announcement_assignees_request object to pass to this method |
|---|---|
| courseId | Identifier of the course |
| id | Identifier of the announcement |
This method returns the following error codes:
PERMISSION_DENIED if the requesting user is not permitted to access therequested course or course work or for access errors.
INVALID_ARGUMENT if the request is malformed.
NOT_FOUND if the requested course or course work does not exist.
Authentication scopes used by this function are:
https://www.googleapis.com/auth/classroom.announcements
Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.announcements")
Then run googleAuthR::gar_auth() to authenticate.
See gar_auth for details.
Other ModifyAnnouncementAssigneesRequest functions:
gc_modify_announcement_assignees_request()