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 |
Permanently deletes a revision. This method is only applicable to files with binary content in Drive.
See: Drive API Reference for drive.revisions.delete
.
Synopsis
- type RevisionsDeleteResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("revisions" :> (Capture "revisionId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- revisionsDelete :: Text -> Text -> RevisionsDelete
- data RevisionsDelete
- rFileId :: Lens' RevisionsDelete Text
- rRevisionId :: Lens' RevisionsDelete Text
REST Resource
type RevisionsDeleteResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("revisions" :> (Capture "revisionId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for drive.revisions.delete
method which the
RevisionsDelete
request conforms to.
Creating a Request
Creates a value of RevisionsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RevisionsDelete Source #
Permanently deletes a revision. This method is only applicable to files with binary content in Drive.
See: revisionsDelete
smart constructor.
Instances
Request Lenses
rRevisionId :: Lens' RevisionsDelete Text Source #
The ID of the revision.