Resource: GuardianInvitation
An invitation to become the guardian of a specified user, sent to a specified email address.
| JSON representation | 
|---|
| {
  "studentId": string,
  "invitationId": string,
  "invitedEmailAddress": string,
  "state": enum ( | 
| Fields | |
|---|---|
| studentId | 
 ID of the student (in standard format) | 
| invitationId | 
 Unique identifier for this invitation. Read-only. | 
| invitedEmailAddress | 
 Email address that the invitation was sent to. This field is only visible to domain administrators. | 
| state | 
 The state that this invitation is in. | 
| creationTime | 
 The time that this invitation was created. Read-only. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
GuardianInvitationState
State of a guardian invitation.
| Enums | |
|---|---|
| GUARDIAN_INVITATION_STATE_UNSPECIFIED | Should never be returned. | 
| PENDING | The invitation is active and awaiting a response. | 
| COMPLETE | The invitation is no longer active. It may have been accepted, declined, withdrawn or it may have expired. | 
| Methods | |
|---|---|
| 
 | Creates a guardian invitation, and sends an email to the guardian asking them to confirm that they are the student's guardian. | 
| 
 | Returns a specific guardian invitation. | 
| 
 | Returns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. | 
| 
 | Modifies a guardian invitation. |