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.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 "userProject" Text :> (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.

Instances
Eq BucketsGet Source # 
Instance details

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

Data BucketsGet Source # 
Instance details

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

Methods

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

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

toConstr :: BucketsGet -> Constr #

dataTypeOf :: BucketsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BucketsGet Source # 
Instance details

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

Generic BucketsGet Source # 
Instance details

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

Associated Types

type Rep BucketsGet :: Type -> Type #

GoogleRequest BucketsGet Source # 
Instance details

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

Associated Types

type Rs BucketsGet :: Type #

type Scopes BucketsGet :: [Symbol] #

type Rep BucketsGet Source # 
Instance details

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

type Rep BucketsGet = D1 (MetaData "BucketsGet" "Network.Google.Resource.Storage.Buckets.Get" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "BucketsGet'" PrefixI True) ((S1 (MetaSel (Just "_bgIfMetagenerationMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_bgBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_bgUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bgIfMetagenerationNotMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_bgProjection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BucketsGetProjection))))))
type Scopes BucketsGet Source # 
Instance details

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

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

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

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.

bgUserProject :: Lens' BucketsGet (Maybe Text) Source #

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

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.