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 |
Deletes a comment.
See: Drive API Reference for drive.comments.delete
.
Synopsis
- type CommentsDeleteResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- commentsDelete :: Text -> Text -> CommentsDelete
- data CommentsDelete
- cdFileId :: Lens' CommentsDelete Text
- cdCommentId :: Lens' CommentsDelete Text
REST Resource
type CommentsDeleteResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for drive.comments.delete
method which the
CommentsDelete
request conforms to.
Creating a Request
Creates a value of CommentsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsDelete Source #
Deletes a comment.
See: commentsDelete
smart constructor.
Instances
Request Lenses
cdCommentId :: Lens' CommentsDelete Text Source #
The ID of the comment.