Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies assignee mode and options of a coursework. Only a teacher of the course that contains the coursework may call this method. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist.
See: Google Classroom API Reference for classroom.courses.courseWork.modifyAssignees
.
Synopsis
- type CoursesCourseWorkModifyAssigneesResource = "v1" :> ("courses" :> (Capture "courseId" Text :> ("courseWork" :> (CaptureMode "id" "modifyAssignees" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyCourseWorkAssigneesRequest :> Post '[JSON] CourseWork)))))))))))
- coursesCourseWorkModifyAssignees :: Text -> ModifyCourseWorkAssigneesRequest -> Text -> CoursesCourseWorkModifyAssignees
- data CoursesCourseWorkModifyAssignees
- ccwmaXgafv :: Lens' CoursesCourseWorkModifyAssignees (Maybe Xgafv)
- ccwmaUploadProtocol :: Lens' CoursesCourseWorkModifyAssignees (Maybe Text)
- ccwmaCourseId :: Lens' CoursesCourseWorkModifyAssignees Text
- ccwmaAccessToken :: Lens' CoursesCourseWorkModifyAssignees (Maybe Text)
- ccwmaUploadType :: Lens' CoursesCourseWorkModifyAssignees (Maybe Text)
- ccwmaPayload :: Lens' CoursesCourseWorkModifyAssignees ModifyCourseWorkAssigneesRequest
- ccwmaId :: Lens' CoursesCourseWorkModifyAssignees Text
- ccwmaCallback :: Lens' CoursesCourseWorkModifyAssignees (Maybe Text)
REST Resource
type CoursesCourseWorkModifyAssigneesResource = "v1" :> ("courses" :> (Capture "courseId" Text :> ("courseWork" :> (CaptureMode "id" "modifyAssignees" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyCourseWorkAssigneesRequest :> Post '[JSON] CourseWork))))))))))) Source #
A resource alias for classroom.courses.courseWork.modifyAssignees
method which the
CoursesCourseWorkModifyAssignees
request conforms to.
Creating a Request
coursesCourseWorkModifyAssignees Source #
Creates a value of CoursesCourseWorkModifyAssignees
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CoursesCourseWorkModifyAssignees Source #
Modifies assignee mode and options of a coursework. Only a teacher of the course that contains the coursework may call this method. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or course work does not exist.
See: coursesCourseWorkModifyAssignees
smart constructor.
Instances
Request Lenses
ccwmaXgafv :: Lens' CoursesCourseWorkModifyAssignees (Maybe Xgafv) Source #
V1 error format.
ccwmaUploadProtocol :: Lens' CoursesCourseWorkModifyAssignees (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ccwmaCourseId :: Lens' CoursesCourseWorkModifyAssignees Text Source #
Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
ccwmaAccessToken :: Lens' CoursesCourseWorkModifyAssignees (Maybe Text) Source #
OAuth access token.
ccwmaUploadType :: Lens' CoursesCourseWorkModifyAssignees (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ccwmaPayload :: Lens' CoursesCourseWorkModifyAssignees ModifyCourseWorkAssigneesRequest Source #
Multipart request metadata.