gogol-storage-0.1.1: Google Cloud Storage JSON 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.Storage.Buckets.Delete

Contents

Description

Permanently deletes an empty bucket.

See: Cloud Storage JSON API Reference for storage.buckets.delete.

Synopsis

REST Resource

type BucketsDeleteResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> (QueryParam "ifMetagenerationMatch" (Textual Int64) :> (QueryParam "ifMetagenerationNotMatch" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #

A resource alias for storage.buckets.delete method which the BucketsDelete request conforms to.

Creating a Request

bucketsDelete Source #

Arguments

:: Text

bdBucket

-> BucketsDelete 

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

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

data BucketsDelete Source #

Permanently deletes an empty bucket.

See: bucketsDelete smart constructor.

Instances

Eq BucketsDelete Source # 
Data BucketsDelete Source # 

Methods

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

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

toConstr :: BucketsDelete -> Constr #

dataTypeOf :: BucketsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BucketsDelete Source # 
Generic BucketsDelete Source # 

Associated Types

type Rep BucketsDelete :: * -> * #

GoogleRequest BucketsDelete Source # 

Associated Types

type Rs BucketsDelete :: * #

type Scopes BucketsDelete :: [Symbol] #

type Rep BucketsDelete Source # 
type Rep BucketsDelete = D1 (MetaData "BucketsDelete" "Network.Google.Resource.Storage.Buckets.Delete" "gogol-storage-0.1.1-484EJNb6NCzBFRtEOp5ki4" False) (C1 (MetaCons "BucketsDelete'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bdIfMetagenerationMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_bdBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_bdIfMetagenerationNotMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))
type Scopes BucketsDelete Source # 
type Scopes BucketsDelete = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/devstorage.full_control" ((:) Symbol "https://www.googleapis.com/auth/devstorage.read_write" ([] Symbol)))
type Rs BucketsDelete Source # 
type Rs BucketsDelete = ()

Request Lenses

bdIfMetagenerationMatch :: Lens' BucketsDelete (Maybe Int64) Source #

If set, only deletes the bucket if its metageneration matches this value.

bdBucket :: Lens' BucketsDelete Text Source #

Name of a bucket.

bdIfMetagenerationNotMatch :: Lens' BucketsDelete (Maybe Int64) Source #

If set, only deletes the bucket if its metageneration does not match this value.