PERMISSION_DENIED if the requesting user is not permitted to view guardian invitations for the student identified by the studentId, if guardians are not enabled for the domain in question, or for other access errors.
INVALID_ARGUMENT if a studentId is specified, but its format cannot be recognized (it is not an email address, nor a studentId from the API, nor the literal string me).
NOT_FOUND if Classroom cannot find any record of the given student or invitationId. May also be returned if the student exists, but the requesting user does not have access to see that student.
HTTP request
GET https://classroom.googleapis.com/v1/userProfiles/{studentId}/guardianInvitations/{invitationId}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["This method retrieves a specific guardian invitation for a student."],["Users need appropriate authorization scopes to access guardian invitations and might encounter errors like `PERMISSION_DENIED`, `INVALID_ARGUMENT`, or `NOT_FOUND` depending on the context."],["The request is made using an HTTP GET request to a specific URL structure with `studentId` and `invitationId` as path parameters."],["The response, if successful, will contain a `GuardianInvitation` object detailing the invitation."]]],[]]