Returns the list of topics that the requester is permitted to view.
gc_courses_topics_list(courseId, pageToken = NULL, pageSize = NULL)
courseId | Identifier of the course |
---|---|
pageToken | nextPageToken |
pageSize | Maximum number of items to return |
This method returns the following error codes:
PERMISSION_DENIED
if the requesting user is not permitted to accessthe requested course or for access errors.
INVALID_ARGUMENT
if the request is malformed.
NOT_FOUND
if the requested course does not exist.
Authentication scopes used by this function are:
https://www.googleapis.com/auth/classroom.topics
https://www.googleapis.com/auth/classroom.topics.readonly
Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.topics", "https://www.googleapis.com/auth/classroom.topics.readonly")
Then run googleAuthR::gar_auth()
to authenticate.
See gar_auth
for details.