gogol-classroom-0.4.0: Google Classroom SDK.

Copyright(c) 2015-2016 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.Courses.CourseWork.StudentSubmissions.Get

Contents

Description

Returns a student submission. * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, course work, or student submission or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.

See: Google Classroom API Reference for classroom.courses.courseWork.studentSubmissions.get.

Synopsis

REST Resource

type CoursesCourseWorkStudentSubmissionsGetResource = "v1" :> ("courses" :> (Capture "courseId" Text :> ("courseWork" :> (Capture "courseWorkId" Text :> ("studentSubmissions" :> (Capture "id" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] StudentSubmission)))))))))))) Source #

A resource alias for classroom.courses.courseWork.studentSubmissions.get method which the CoursesCourseWorkStudentSubmissionsGet request conforms to.

Creating a Request

data CoursesCourseWorkStudentSubmissionsGet Source #

Returns a student submission. * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, course work, or student submission or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.

See: coursesCourseWorkStudentSubmissionsGet smart constructor.

Instances
Eq CoursesCourseWorkStudentSubmissionsGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get

Data CoursesCourseWorkStudentSubmissionsGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoursesCourseWorkStudentSubmissionsGet -> c CoursesCourseWorkStudentSubmissionsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoursesCourseWorkStudentSubmissionsGet #

toConstr :: CoursesCourseWorkStudentSubmissionsGet -> Constr #

dataTypeOf :: CoursesCourseWorkStudentSubmissionsGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoursesCourseWorkStudentSubmissionsGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoursesCourseWorkStudentSubmissionsGet) #

gmapT :: (forall b. Data b => b -> b) -> CoursesCourseWorkStudentSubmissionsGet -> CoursesCourseWorkStudentSubmissionsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoursesCourseWorkStudentSubmissionsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoursesCourseWorkStudentSubmissionsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> CoursesCourseWorkStudentSubmissionsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CoursesCourseWorkStudentSubmissionsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoursesCourseWorkStudentSubmissionsGet -> m CoursesCourseWorkStudentSubmissionsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoursesCourseWorkStudentSubmissionsGet -> m CoursesCourseWorkStudentSubmissionsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoursesCourseWorkStudentSubmissionsGet -> m CoursesCourseWorkStudentSubmissionsGet #

Show CoursesCourseWorkStudentSubmissionsGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get

Generic CoursesCourseWorkStudentSubmissionsGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get

GoogleRequest CoursesCourseWorkStudentSubmissionsGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get

type Rep CoursesCourseWorkStudentSubmissionsGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get

type Rep CoursesCourseWorkStudentSubmissionsGet = D1 (MetaData "CoursesCourseWorkStudentSubmissionsGet" "Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "CoursesCourseWorkStudentSubmissionsGet'" PrefixI True) (((S1 (MetaSel (Just "_ccwssgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ccwssgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ccwssgCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccwssgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ccwssgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccwssgId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ccwssgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccwssgCourseWorkId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes CoursesCourseWorkStudentSubmissionsGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get

type Scopes CoursesCourseWorkStudentSubmissionsGet = "https://www.googleapis.com/auth/classroom.coursework.me" ': ("https://www.googleapis.com/auth/classroom.coursework.me.readonly" ': ("https://www.googleapis.com/auth/classroom.coursework.students" ': ("https://www.googleapis.com/auth/classroom.coursework.students.readonly" ': ("https://www.googleapis.com/auth/classroom.student-submissions.me.readonly" ': ("https://www.googleapis.com/auth/classroom.student-submissions.students.readonly" ': ([] :: [Symbol]))))))
type Rs CoursesCourseWorkStudentSubmissionsGet Source # 
Instance details

Defined in Network.Google.Resource.Classroom.Courses.CourseWork.StudentSubmissions.Get

Request Lenses

ccwssgUploadProtocol :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text) Source #

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

ccwssgCourseId :: Lens' CoursesCourseWorkStudentSubmissionsGet Text Source #

Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.

ccwssgUploadType :: Lens' CoursesCourseWorkStudentSubmissionsGet (Maybe Text) Source #

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

ccwssgId :: Lens' CoursesCourseWorkStudentSubmissionsGet Text Source #

Identifier of the student submission.