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 revision with patch semantics.
See: Drive API Reference for drive.revisions.update
.
Synopsis
- type RevisionsUpdateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("revisions" :> (Capture "revisionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Revision :> Patch '[JSON] Revision)))))))
- revisionsUpdate :: Revision -> Text -> Text -> RevisionsUpdate
- data RevisionsUpdate
- revPayload :: Lens' RevisionsUpdate Revision
- revFileId :: Lens' RevisionsUpdate Text
- revRevisionId :: Lens' RevisionsUpdate Text
REST Resource
type RevisionsUpdateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("revisions" :> (Capture "revisionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Revision :> Patch '[JSON] Revision))))))) Source #
A resource alias for drive.revisions.update
method which the
RevisionsUpdate
request conforms to.
Creating a Request
Creates a value of RevisionsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RevisionsUpdate Source #
Updates a revision with patch semantics.
See: revisionsUpdate
smart constructor.
Instances
Request Lenses
revPayload :: Lens' RevisionsUpdate Revision Source #
Multipart request metadata.
revRevisionId :: Lens' RevisionsUpdate Text Source #
The ID of the revision.