Returns a list of students of this course that the requester is permitted to view.

gc_courses_students_list(courseId, pageToken = NULL, pageSize = NULL)

Arguments

courseId

Identifier of the course

pageToken

nextPageToken

pageSize

Maximum number of items to return

Details

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.

See also