Copyright | (c) 2015-2025 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> Toni Cebrián <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | GHC2021 |
Gogol.Classroom.Courses.Announcements.ModifyAssignees
Contents
Description
Modifies assignee mode and options of an announcement. Only a teacher of the course that contains the announcement 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.announcements.modifyAssignees
.
Synopsis
- type ClassroomCoursesAnnouncementsModifyAssigneesResource = "v1" :> ("courses" :> (Capture "courseId" Text :> ("announcements" :> (CaptureMode "id" "modifyAssignees" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyAnnouncementAssigneesRequest :> Post '[JSON] Announcement)))))))))))
- data ClassroomCoursesAnnouncementsModifyAssignees = ClassroomCoursesAnnouncementsModifyAssignees {}
- newClassroomCoursesAnnouncementsModifyAssignees :: Text -> Text -> ModifyAnnouncementAssigneesRequest -> ClassroomCoursesAnnouncementsModifyAssignees
Resource
type ClassroomCoursesAnnouncementsModifyAssigneesResource = "v1" :> ("courses" :> (Capture "courseId" Text :> ("announcements" :> (CaptureMode "id" "modifyAssignees" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyAnnouncementAssigneesRequest :> Post '[JSON] Announcement))))))))))) Source #
A resource alias for classroom.courses.announcements.modifyAssignees
method which the
ClassroomCoursesAnnouncementsModifyAssignees
request conforms to.
Constructing a Request
data ClassroomCoursesAnnouncementsModifyAssignees Source #
Modifies assignee mode and options of an announcement. Only a teacher of the course that contains the announcement 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: newClassroomCoursesAnnouncementsModifyAssignees
smart constructor.
Constructors
ClassroomCoursesAnnouncementsModifyAssignees | |
Fields
|
Instances
newClassroomCoursesAnnouncementsModifyAssignees Source #
Arguments
:: Text | Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias. See |
-> Text | Identifier of the announcement. See |
-> ModifyAnnouncementAssigneesRequest | Multipart request metadata. See |
-> ClassroomCoursesAnnouncementsModifyAssignees |
Creates a value of ClassroomCoursesAnnouncementsModifyAssignees
with the minimum fields required to make a request.