Updates one or more fields of a topic
gc_courses_topics_patch(Topic, courseId, id, updateMask = NULL)
Topic | The gc_Topic object to pass to this method |
---|---|
courseId | Identifier of the course |
id | Identifier of the topic |
updateMask | Mask that identifies which fields on the topic to update |
This method returns the following error codes:
PERMISSION_DENIED
if the requesting developer project did not createthe corresponding topic or for access errors.
INVALID_ARGUMENT
if the request is malformed.
NOT_FOUND
if the requested course or topic does not exist
Authentication scopes used by this function are:
https://www.googleapis.com/auth/classroom.topics
Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.topics")
Then run googleAuthR::gar_auth()
to authenticate.
See gar_auth
for details.
Other Topic functions:
gc_courses_topics_create()
,
gc_topic()