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.Teamdrives.Delete

Contents

Description

Permanently deletes a Team Drive for which the user is an organizer. The Team Drive cannot contain any untrashed items.

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

Synopsis

REST Resource

type TeamdrivesDeleteResource = "drive" :> ("v3" :> ("teamdrives" :> (Capture "teamDriveId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) Source #

A resource alias for drive.teamdrives.delete method which the TeamdrivesDelete request conforms to.

Creating a Request

teamdrivesDelete Source #

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

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

data TeamdrivesDelete Source #

Permanently deletes a Team Drive for which the user is an organizer. The Team Drive cannot contain any untrashed items.

See: teamdrivesDelete smart constructor.

Instances
Eq TeamdrivesDelete Source # 
Instance details

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

Data TeamdrivesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: TeamdrivesDelete -> Constr #

dataTypeOf :: TeamdrivesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TeamdrivesDelete Source # 
Instance details

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

Generic TeamdrivesDelete Source # 
Instance details

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

Associated Types

type Rep TeamdrivesDelete :: Type -> Type #

GoogleRequest TeamdrivesDelete Source # 
Instance details

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

Associated Types

type Rs TeamdrivesDelete :: Type #

type Scopes TeamdrivesDelete :: [Symbol] #

type Rep TeamdrivesDelete Source # 
Instance details

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

type Rep TeamdrivesDelete = D1 (MetaData "TeamdrivesDelete" "Network.Google.Resource.Drive.Teamdrives.Delete" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" True) (C1 (MetaCons "TeamdrivesDelete'" PrefixI True) (S1 (MetaSel (Just "_tdTeamDriveId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes TeamdrivesDelete Source # 
Instance details

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

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

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

Request Lenses

tdTeamDriveId :: Lens' TeamdrivesDelete Text Source #

The ID of the Team Drive