Updates a course.
gc_courses_update(Course, id)
| Course | The gc_course object to pass to this method |
|---|---|
| id | Identifier of the course to update |
This method returns the following error codes:
PERMISSION_DENIED if the requesting user is not permitted to modify therequested course or for access errors.
NOT_FOUND if no course exists with the requested ID.
FAILED_PRECONDITION for the following request errors:
CourseNotModifiable
Authentication scopes used by this function are:
https://www.googleapis.com/auth/classroom.courses
Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.courses")
Then run googleAuthR::gar_auth() to authenticate.
See gar_auth for details.
Other Course functions:
gc_courses_create(),
gc_courses_patch(),
gc_course()