This method returns the following error codes:

gc_invitations_get(id)

Arguments

id

Identifier of the invitation to return

Details

  • PERMISSION_DENIED if the requesting user is not permitted to view therequested invitation or for access errors.

  • NOT_FOUND if no invitation exists with the requested ID.

Authentication scopes used by this function are:

  • 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.rosters", "https://www.googleapis.com/auth/classroom.rosters.readonly") Then run googleAuthR::gar_auth() to authenticate. See gar_auth for details.

See also