Returns a list of teachers of this course that the requesteris permitted to view.
gc_courses_teachers_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:
NOT_FOUND
if the course does not exist.
PERMISSION_DENIED
for access errors.
Authentication scopes used by this function are:
https://www.googleapis.com/auth/classroom.profile.emails
https://www.googleapis.com/auth/classroom.profile.photos
https://www.googleapis.com/auth/classroom.rosters
https://www.googleapis.com/auth/classroom.rosters.readonly
Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.profile.emails", "https://www.googleapis.com/auth/classroom.profile.photos", "https://www.googleapis.com/auth/classroom.rosters", "https://www.googleapis.com/auth/classroom.rosters.readonly")
Then run googleAuthR::gar_auth()
to authenticate.
See gar_auth
for details.