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

Contents

Description

Retrieves a list of buckets for a given project.

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

Synopsis

REST Resource

type BucketsListResource = "storage" :> ("v1" :> ("b" :> (QueryParam "project" Text :> (QueryParam "prefix" Text :> (QueryParam "userProject" Text :> (QueryParam "projection" BucketsListProjection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Buckets))))))))) Source #

A resource alias for storage.buckets.list method which the BucketsList request conforms to.

Creating a Request

bucketsList Source #

Arguments

:: Text

blProject

-> BucketsList 

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

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

data BucketsList Source #

Retrieves a list of buckets for a given project.

See: bucketsList smart constructor.

Instances
Eq BucketsList Source # 
Instance details

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

Data BucketsList Source # 
Instance details

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

Methods

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

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

toConstr :: BucketsList -> Constr #

dataTypeOf :: BucketsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BucketsList Source # 
Instance details

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

Generic BucketsList Source # 
Instance details

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

Associated Types

type Rep BucketsList :: Type -> Type #

GoogleRequest BucketsList Source # 
Instance details

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

Associated Types

type Rs BucketsList :: Type #

type Scopes BucketsList :: [Symbol] #

type Rep BucketsList Source # 
Instance details

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

type Rep BucketsList = D1 (MetaData "BucketsList" "Network.Google.Resource.Storage.Buckets.List" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "BucketsList'" PrefixI True) ((S1 (MetaSel (Just "_blProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_blPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_blUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_blProjection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BucketsListProjection)) :*: (S1 (MetaSel (Just "_blPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_blMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word32))))))
type Scopes BucketsList Source # 
Instance details

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

type Scopes BucketsList = "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 BucketsList Source # 
Instance details

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

Request Lenses

blProject :: Lens' BucketsList Text Source #

A valid API project identifier.

blPrefix :: Lens' BucketsList (Maybe Text) Source #

Filter results to buckets whose names begin with this prefix.

blUserProject :: Lens' BucketsList (Maybe Text) Source #

The project to be billed for this request.

blProjection :: Lens' BucketsList (Maybe BucketsListProjection) Source #

Set of properties to return. Defaults to noAcl.

blPageToken :: Lens' BucketsList (Maybe Text) Source #

A previously-returned page token representing part of the larger set of results to view.

blMaxResults :: Lens' BucketsList Word32 Source #

Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.