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.Get

Contents

Description

Returns metadata for the specified bucket.

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

Synopsis

REST Resource

type BucketsGetResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> (QueryParam "ifMetagenerationMatch" (Textual Int64) :> (QueryParam "ifMetagenerationNotMatch" (Textual Int64) :> (QueryParam "projection" BucketsGetProjection :> (QueryParam "alt" AltJSON :> Get `[JSON]` Bucket))))))) Source

A resource alias for storage.buckets.get method which the BucketsGet request conforms to.

Creating a Request

bucketsGet Source

Arguments

:: Text

bgBucket

-> BucketsGet 

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

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

data BucketsGet Source

Returns metadata for the specified bucket.

See: bucketsGet smart constructor.

Request Lenses

bgIfMetagenerationMatch :: Lens' BucketsGet (Maybe Int64) Source

Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.

bgBucket :: Lens' BucketsGet Text Source

Name of a bucket.

bgIfMetagenerationNotMatch :: Lens' BucketsGet (Maybe Int64) Source

Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.

bgProjection :: Lens' BucketsGet (Maybe BucketsGetProjection) Source

Set of properties to return. Defaults to noAcl.