gogol-storage-0.1.1: 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.Objects.List

Contents

Description

Retrieves a list of objects matching the criteria.

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

Synopsis

REST Resource

type ObjectsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (QueryParam "prefix" Text :> (QueryParam "versions" Bool :> (QueryParam "projection" ObjectsListProjection :> (QueryParam "pageToken" Text :> (QueryParam "delimiter" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Objects))))))))))) Source #

A resource alias for storage.objects.list method which the ObjectsList request conforms to.

Creating a Request

objectsList Source #

Arguments

:: Text

olBucket

-> ObjectsList 

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

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

data ObjectsList Source #

Retrieves a list of objects matching the criteria.

See: objectsList smart constructor.

Instances

Eq ObjectsList Source # 
Data ObjectsList Source # 

Methods

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

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

toConstr :: ObjectsList -> Constr #

dataTypeOf :: ObjectsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ObjectsList Source # 
Generic ObjectsList Source # 

Associated Types

type Rep ObjectsList :: * -> * #

GoogleRequest ObjectsList Source # 

Associated Types

type Rs ObjectsList :: * #

type Scopes ObjectsList :: [Symbol] #

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

Request Lenses

olPrefix :: Lens' ObjectsList (Maybe Text) Source #

Filter results to objects whose names begin with this prefix.

olBucket :: Lens' ObjectsList Text Source #

Name of the bucket in which to look for objects.

olVersions :: Lens' ObjectsList (Maybe Bool) Source #

If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.

olProjection :: Lens' ObjectsList (Maybe ObjectsListProjection) Source #

Set of properties to return. Defaults to noAcl.

olPageToken :: Lens' ObjectsList (Maybe Text) Source #

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

olDelimiter :: Lens' ObjectsList (Maybe Text) Source #

Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.

olMaxResults :: Lens' ObjectsList (Maybe Word32) Source #

Maximum number of items plus prefixes to return. As duplicate prefixes are omitted, fewer total results may be returned than requested. The default value of this parameter is 1,000 items.