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

Contents

Description

Retrieves a list of notification subscriptions for a given bucket.

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

Synopsis

REST Resource

type NotificationsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("notificationConfigs" :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Notifications)))))) Source #

A resource alias for storage.notifications.list method which the NotificationsList request conforms to.

Creating a Request

notificationsList Source #

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

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

data NotificationsList Source #

Retrieves a list of notification subscriptions for a given bucket.

See: notificationsList smart constructor.

Instances
Eq NotificationsList Source # 
Instance details

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

Data NotificationsList Source # 
Instance details

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

Methods

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

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

toConstr :: NotificationsList -> Constr #

dataTypeOf :: NotificationsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationsList Source # 
Instance details

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

Generic NotificationsList Source # 
Instance details

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

Associated Types

type Rep NotificationsList :: Type -> Type #

GoogleRequest NotificationsList Source # 
Instance details

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

Associated Types

type Rs NotificationsList :: Type #

type Scopes NotificationsList :: [Symbol] #

type Rep NotificationsList Source # 
Instance details

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

type Rep NotificationsList = D1 (MetaData "NotificationsList" "Network.Google.Resource.Storage.Notifications.List" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "NotificationsList'" PrefixI True) (S1 (MetaSel (Just "_nlBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_nlUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Scopes NotificationsList Source # 
Instance details

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

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

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

Request Lenses

nlBucket :: Lens' NotificationsList Text Source #

Name of a Google Cloud Storage bucket.

nlUserProject :: Lens' NotificationsList (Maybe Text) Source #

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