gogol-classroom-0.0.1: Google Classroom SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Classroom.Invitations.Get

Contents

Description

Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.

See: Google Classroom API Reference for classroom.invitations.get.

Synopsis

REST Resource

type InvitationsGetResource = "v1" :> ("invitations" :> (Capture "id" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Invitation)))))))))) Source

A resource alias for classroom.invitations.get method which the InvitationsGet request conforms to.

Creating a Request

invitationsGet Source

Arguments

:: Text

igId

-> InvitationsGet 

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

Use one of the following lenses to modify other fields as desired:

data InvitationsGet Source

Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.

See: invitationsGet smart constructor.

Request Lenses

igUploadProtocol :: Lens' InvitationsGet (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

igPp :: Lens' InvitationsGet Bool Source

Pretty-print response.

igUploadType :: Lens' InvitationsGet (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").

igId :: Lens' InvitationsGet Text Source

Identifier of the invitation to return.