gogol-drive-0.1.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.Files.Delete

Contents

Description

Permanently deletes a file owned by the user without moving it to the trash. If the target is a folder, all descendants owned by the user are also deleted.

See: Drive API Reference for drive.files.delete.

Synopsis

REST Resource

type FilesDeleteResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) Source #

A resource alias for drive.files.delete method which the FilesDelete request conforms to.

Creating a Request

filesDelete Source #

Arguments

:: Text

fdFileId

-> FilesDelete 

Creates a value of FilesDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data FilesDelete Source #

Permanently deletes a file owned by the user without moving it to the trash. If the target is a folder, all descendants owned by the user are also deleted.

See: filesDelete smart constructor.

Instances

Eq FilesDelete Source # 
Data FilesDelete Source # 

Methods

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

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

toConstr :: FilesDelete -> Constr #

dataTypeOf :: FilesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FilesDelete Source # 
Generic FilesDelete Source # 

Associated Types

type Rep FilesDelete :: * -> * #

GoogleRequest FilesDelete Source # 

Associated Types

type Rs FilesDelete :: * #

type Scopes FilesDelete :: [Symbol] #

type Rep FilesDelete Source # 
type Rep FilesDelete = D1 (MetaData "FilesDelete" "Network.Google.Resource.Drive.Files.Delete" "gogol-drive-0.1.0-6HBMQCLlnIn4vn8VWItYpl" True) (C1 (MetaCons "FilesDelete'" PrefixI True) (S1 (MetaSel (Just Symbol "_fdFileId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes FilesDelete Source # 
type Scopes FilesDelete = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/drive.appdata" ((:) Symbol "https://www.googleapis.com/auth/drive.file" ([] Symbol)))
type Rs FilesDelete Source # 
type Rs FilesDelete = ()

Request Lenses

fdFileId :: Lens' FilesDelete Text Source #

The ID of the file.