gogol-storage-0.4.0: 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 "userProject" Text :> (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 # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.Delete

Data BucketsDelete Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.Delete

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 # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.Delete

Generic BucketsDelete Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.Delete

Associated Types

type Rep BucketsDelete :: Type -> Type #

GoogleRequest BucketsDelete Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.Delete

Associated Types

type Rs BucketsDelete :: Type #

type Scopes BucketsDelete :: [Symbol] #

type Rep BucketsDelete Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.Delete

type Rep BucketsDelete = D1 (MetaData "BucketsDelete" "Network.Google.Resource.Storage.Buckets.Delete" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "BucketsDelete'" PrefixI True) ((S1 (MetaSel (Just "_bdIfMetagenerationMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_bdBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_bdUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bdIfMetagenerationNotMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))
type Scopes BucketsDelete Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.Delete

type Scopes BucketsDelete = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/devstorage.full_control" ': ("https://www.googleapis.com/auth/devstorage.read_write" ': ([] :: [Symbol])))
type Rs BucketsDelete Source # 
Instance details

Defined in Network.Google.Resource.Storage.Buckets.Delete

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.

bdUserProject :: Lens' BucketsDelete (Maybe Text) Source #

The project to be billed for this request. Required for Requester Pays buckets.

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

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