gogol-storage-0.0.1: Google Cloud Storage JSON SDK.

Copyright(c) 2015 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:

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.