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 |
Updates a comment with patch semantics.
See: Drive API Reference for drive.comments.update
.
Synopsis
- type CommentsUpdateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Patch '[JSON] Comment)))))))
- commentsUpdate :: Comment -> Text -> Text -> CommentsUpdate
- data CommentsUpdate
- cuPayload :: Lens' CommentsUpdate Comment
- cuFileId :: Lens' CommentsUpdate Text
- cuCommentId :: Lens' CommentsUpdate Text
REST Resource
type CommentsUpdateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Patch '[JSON] Comment))))))) Source #
A resource alias for drive.comments.update
method which the
CommentsUpdate
request conforms to.
Creating a Request
Creates a value of CommentsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsUpdate Source #
Updates a comment with patch semantics.
See: commentsUpdate
smart constructor.
Instances
Request Lenses
cuCommentId :: Lens' CommentsUpdate Text Source #
The ID of the comment.