Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Permanently deletes an empty bucket.
See: Cloud Storage JSON API Reference for storage.buckets.delete
.
- type BucketsDeleteResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> (QueryParam "ifMetagenerationMatch" (Textual Int64) :> (QueryParam "ifMetagenerationNotMatch" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))))
- bucketsDelete :: Text -> BucketsDelete
- data BucketsDelete
- bdIfMetagenerationMatch :: Lens' BucketsDelete (Maybe Int64)
- bdBucket :: Lens' BucketsDelete Text
- bdIfMetagenerationNotMatch :: Lens' BucketsDelete (Maybe Int64)
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
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.
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.