gogol-drive-0.4.0: Google Drive SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Drive.Revisions.Delete

Contents

Description

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

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

revisionsDelete Source #

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
Eq RevisionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.Delete

Data RevisionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.Delete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RevisionsDelete -> c RevisionsDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RevisionsDelete #

toConstr :: RevisionsDelete -> Constr #

dataTypeOf :: RevisionsDelete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RevisionsDelete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RevisionsDelete) #

gmapT :: (forall b. Data b => b -> b) -> RevisionsDelete -> RevisionsDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RevisionsDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RevisionsDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> RevisionsDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RevisionsDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RevisionsDelete -> m RevisionsDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RevisionsDelete -> m RevisionsDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RevisionsDelete -> m RevisionsDelete #

Show RevisionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.Delete

Generic RevisionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.Delete

Associated Types

type Rep RevisionsDelete :: Type -> Type #

GoogleRequest RevisionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.Delete

Associated Types

type Rs RevisionsDelete :: Type #

type Scopes RevisionsDelete :: [Symbol] #

type Rep RevisionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.Delete

type Rep RevisionsDelete = D1 (MetaData "RevisionsDelete" "Network.Google.Resource.Drive.Revisions.Delete" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "RevisionsDelete'" PrefixI True) (S1 (MetaSel (Just "_rFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rRevisionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes RevisionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.Delete

type Scopes RevisionsDelete = "https://www.googleapis.com/auth/drive" ': ("https://www.googleapis.com/auth/drive.appdata" ': ("https://www.googleapis.com/auth/drive.file" ': ([] :: [Symbol])))
type Rs RevisionsDelete Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.Delete

Request Lenses

rFileId :: Lens' RevisionsDelete Text Source #

The ID of the file.

rRevisionId :: Lens' RevisionsDelete Text Source #

The ID of the revision.