gogol-classroom
Copyright(c) 2015-2025 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <[email protected]> Toni Cebrián <[email protected]>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageGHC2021

Gogol.Classroom.UserProfiles.GuardianInvitations.Get

Description

Returns a specific guardian invitation. 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.

See: Google Classroom API Reference for classroom.userProfiles.guardianInvitations.get.

Synopsis

Resource

type ClassroomUserProfilesGuardianInvitationsGetResource = "v1" :> ("userProfiles" :> (Capture "studentId" Text :> ("guardianInvitations" :> (Capture "invitationId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GuardianInvitation)))))))))) Source #

A resource alias for classroom.userProfiles.guardianInvitations.get method which the ClassroomUserProfilesGuardianInvitationsGet request conforms to.

Constructing a Request

data ClassroomUserProfilesGuardianInvitationsGet Source #

Returns a specific guardian invitation. 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.

See: newClassroomUserProfilesGuardianInvitationsGet smart constructor.

Constructors

ClassroomUserProfilesGuardianInvitationsGet 

Fields

Instances

Instances details
Generic ClassroomUserProfilesGuardianInvitationsGet Source # 
Instance details

Defined in Gogol.Classroom.UserProfiles.GuardianInvitations.Get

Associated Types

type Rep ClassroomUserProfilesGuardianInvitationsGet 
Instance details

Defined in Gogol.Classroom.UserProfiles.GuardianInvitations.Get

type Rep ClassroomUserProfilesGuardianInvitationsGet = D1 ('MetaData "ClassroomUserProfilesGuardianInvitationsGet" "Gogol.Classroom.UserProfiles.GuardianInvitations.Get" "gogol-classroom-1.0.0-E0l1a33tlucKcuM1xSJBzt" 'False) (C1 ('MetaCons "ClassroomUserProfilesGuardianInvitationsGet" 'PrefixI 'True) ((S1 ('MetaSel ('Just "xgafv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "callback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "studentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "uploadType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "uploadProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))
Show ClassroomUserProfilesGuardianInvitationsGet Source # 
Instance details

Defined in Gogol.Classroom.UserProfiles.GuardianInvitations.Get

Eq ClassroomUserProfilesGuardianInvitationsGet Source # 
Instance details

Defined in Gogol.Classroom.UserProfiles.GuardianInvitations.Get

GoogleRequest ClassroomUserProfilesGuardianInvitationsGet Source # 
Instance details

Defined in Gogol.Classroom.UserProfiles.GuardianInvitations.Get

type Rep ClassroomUserProfilesGuardianInvitationsGet Source # 
Instance details

Defined in Gogol.Classroom.UserProfiles.GuardianInvitations.Get

type Rep ClassroomUserProfilesGuardianInvitationsGet = D1 ('MetaData "ClassroomUserProfilesGuardianInvitationsGet" "Gogol.Classroom.UserProfiles.GuardianInvitations.Get" "gogol-classroom-1.0.0-E0l1a33tlucKcuM1xSJBzt" 'False) (C1 ('MetaCons "ClassroomUserProfilesGuardianInvitationsGet" 'PrefixI 'True) ((S1 ('MetaSel ('Just "xgafv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "callback") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "invitationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "studentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "uploadType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "uploadProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))
type Rs ClassroomUserProfilesGuardianInvitationsGet Source # 
Instance details

Defined in Gogol.Classroom.UserProfiles.GuardianInvitations.Get

type Scopes ClassroomUserProfilesGuardianInvitationsGet Source # 
Instance details

Defined in Gogol.Classroom.UserProfiles.GuardianInvitations.Get

newClassroomUserProfilesGuardianInvitationsGet Source #

Arguments

:: Text

The id field of the GuardianInvitation being requested. See invitationId.

-> Text

The ID of the student whose guardian invitation is being requested. See studentId.

-> ClassroomUserProfilesGuardianInvitationsGet 

Creates a value of ClassroomUserProfilesGuardianInvitationsGet with the minimum fields required to make a request.