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 |
Creates a new comment on a file.
See: Drive API Reference for drive.comments.create
.
Synopsis
- type CommentsCreateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Post '[JSON] Comment))))))
- commentsCreate :: Comment -> Text -> CommentsCreate
- data CommentsCreate
- ccPayload :: Lens' CommentsCreate Comment
- ccFileId :: Lens' CommentsCreate Text
REST Resource
type CommentsCreateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Post '[JSON] Comment)))))) Source #
A resource alias for drive.comments.create
method which the
CommentsCreate
request conforms to.
Creating a Request
Creates a value of CommentsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsCreate Source #
Creates a new comment on a file.
See: commentsCreate
smart constructor.