-
Notifications
You must be signed in to change notification settings - Fork 10
Get GClassroomGuardianInvitation
Returns a specific guardian invitation, or a list of guardian invitations that the requesting user is permitted to view. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view guardian invitations for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors.
- `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`).
- `NOT_FOUND` if Classroom cannot find any record of the given student or `invitation_id`. May also be returned if the student exists, but the requesting user does not have access to see that student.
Get-GClassroomGuardianInvitation [-StudentId] <String> [-InvitationId] <String>
[-StandardQueryParams <StandardQueryParameters>] [-GAuthId <String>] [-WhatIf] [-Confirm]
Get-GClassroomGuardianInvitation [-StudentId] <String> [[-InvitedEmailAddress] <String>]
[[-States] <StatesEnum>] [[-PageSize] <Int32>] [-All] [-StandardQueryParams <StandardQueryParameters>]
[-GAuthId <String>] [-WhatIf] [-Confirm]
Returns a specific guardian invitation, or a list of guardian invitations that the requesting user is permitted to view. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view guardian invitations for the student identified by the `student_id`, if guardians are not enabled for the domain in question, or for other access errors.
- `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`).
- `NOT_FOUND` if Classroom cannot find any record of the given student or `invitation_id`. May also be returned if the student exists, but the requesting user does not have access to see that student.
PS C:\> Get-GClassroomGuardianInvitation -StudentId $SomeStudentIdString -InvitationId $SomeInvitationIdString
This automatically generated example serves to show the bare minimum required to call this Cmdlet.
Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.
PS C:\> Get-GClassroomGuardianInvitation -StudentId $SomeStudentIdString -All
This automatically generated example serves to show the bare minimum required to call this Cmdlet.
Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.
The ID of the student whose guardian invitation is being requested.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The `id` field of the `GuardianInvitation` being requested.
Type: String
Parameter Sets: one
Aliases:
Required: True
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
If specified, only results with the specified `invited_email_address` will be returned.
Type: String
Parameter Sets: list
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
If specified, only results with the specified `state` values will be returned. Otherwise, results with a `state` of `PENDING` will be returned.
Possible values: GUARDIANINVITATIONSTATEUNSPECIFIED, PENDING, COMPLETE
Type: StatesEnum
Parameter Sets: list
Aliases:
Accepted values: GUARDIANINVITATIONSTATEUNSPECIFIED, PENDING, COMPLETE
Required: False
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.
Type: Int32
Parameter Sets: list
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A switch to list all results.
Type: SwitchParameter
Parameter Sets: list
Aliases:
Required: False
Position: 4
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
A Standard Query Parameters Object.
Type: StandardQueryParameters
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False
The GAuthId representing the gShell auth credentials this cmdlet should use to run.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False
The ID of the student whose guardian invitation is being requested.
The `id` field of the `GuardianInvitation` being requested.
If specified, only results with the specified `invited_email_address` will be returned.
If specified, only results with the specified `state` values will be returned. Otherwise, results with a `state` of `PENDING` will be returned.
Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.
Part of the gShell Project, relating to the Google Classroom API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads