Updates a course.

gc_courses_update(Course, id)

Arguments

Course

The gc_course object to pass to this method

id

Identifier of the course to update

Details

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.

See also