| 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 |
Network.Google.Resource.Drive.Replies.Update
Description
Updates a reply with patch semantics.
See: Drive API Reference for drive.replies.update.
Synopsis
- type RepliesUpdateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> ("replies" :> (Capture "replyId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Reply :> Patch '[JSON] Reply)))))))))
- repliesUpdate :: Reply -> Text -> Text -> Text -> RepliesUpdate
- data RepliesUpdate
- ruPayload :: Lens' RepliesUpdate Reply
- ruReplyId :: Lens' RepliesUpdate Text
- ruFileId :: Lens' RepliesUpdate Text
- ruCommentId :: Lens' RepliesUpdate Text
REST Resource
type RepliesUpdateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> ("replies" :> (Capture "replyId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Reply :> Patch '[JSON] Reply))))))))) Source #
A resource alias for drive.replies.update method which the
RepliesUpdate request conforms to.
Creating a Request
Arguments
| :: Reply | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> RepliesUpdate |
Creates a value of RepliesUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RepliesUpdate Source #
Updates a reply with patch semantics.
See: repliesUpdate smart constructor.
Instances
Request Lenses
ruCommentId :: Lens' RepliesUpdate Text Source #
The ID of the comment.