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.Objects.WatchAll

Contents

Description

Watch for changes on all objects in a bucket.

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

Synopsis

REST Resource

type ObjectsWatchAllResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> ("watch" :> (QueryParam "prefix" Text :> (QueryParam "versions" Bool :> (QueryParam "userProject" Text :> (QueryParam "includeTrailingDelimiter" Bool :> (QueryParam "projection" ObjectsWatchAllProjection :> (QueryParam "pageToken" Text :> (QueryParam "delimiter" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Channel :> Post '[JSON] Channel))))))))))))))) Source #

A resource alias for storage.objects.watchAll method which the ObjectsWatchAll request conforms to.

Creating a Request

objectsWatchAll Source #

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

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

data ObjectsWatchAll Source #

Watch for changes on all objects in a bucket.

See: objectsWatchAll smart constructor.

Instances
Eq ObjectsWatchAll Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.WatchAll

Data ObjectsWatchAll Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.WatchAll

Methods

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

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

toConstr :: ObjectsWatchAll -> Constr #

dataTypeOf :: ObjectsWatchAll -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ObjectsWatchAll Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.WatchAll

Generic ObjectsWatchAll Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.WatchAll

Associated Types

type Rep ObjectsWatchAll :: Type -> Type #

GoogleRequest ObjectsWatchAll Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.WatchAll

Associated Types

type Rs ObjectsWatchAll :: Type #

type Scopes ObjectsWatchAll :: [Symbol] #

type Rep ObjectsWatchAll Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.WatchAll

type Scopes ObjectsWatchAll Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.WatchAll

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

Defined in Network.Google.Resource.Storage.Objects.WatchAll

Request Lenses

owaPrefix :: Lens' ObjectsWatchAll (Maybe Text) Source #

Filter results to objects whose names begin with this prefix.

owaBucket :: Lens' ObjectsWatchAll Text Source #

Name of the bucket in which to look for objects.

owaPayload :: Lens' ObjectsWatchAll Channel Source #

Multipart request metadata.

owaVersions :: Lens' ObjectsWatchAll (Maybe Bool) Source #

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

owaUserProject :: Lens' ObjectsWatchAll (Maybe Text) Source #

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

owaIncludeTrailingDelimiter :: Lens' ObjectsWatchAll (Maybe Bool) Source #

If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.

owaProjection :: Lens' ObjectsWatchAll (Maybe ObjectsWatchAllProjection) Source #

Set of properties to return. Defaults to noAcl.

owaPageToken :: Lens' ObjectsWatchAll (Maybe Text) Source #

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

owaDelimiter :: Lens' ObjectsWatchAll (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.

owaMaxResults :: Lens' ObjectsWatchAll Word32 Source #

Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.