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

Contents

Description

Permanently deletes a notification subscription.

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

Synopsis

REST Resource

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

A resource alias for storage.notifications.delete method which the NotificationsDelete request conforms to.

Creating a Request

notificationsDelete Source #

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

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

data NotificationsDelete Source #

Permanently deletes a notification subscription.

See: notificationsDelete smart constructor.

Instances
Eq NotificationsDelete Source # 
Instance details

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

Data NotificationsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: NotificationsDelete -> Constr #

dataTypeOf :: NotificationsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationsDelete Source # 
Instance details

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

Generic NotificationsDelete Source # 
Instance details

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

Associated Types

type Rep NotificationsDelete :: Type -> Type #

GoogleRequest NotificationsDelete Source # 
Instance details

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

Associated Types

type Rs NotificationsDelete :: Type #

type Scopes NotificationsDelete :: [Symbol] #

type Rep NotificationsDelete Source # 
Instance details

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

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

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

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

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

Request Lenses

ndNotification :: Lens' NotificationsDelete Text Source #

ID of the notification to delete.

ndBucket :: Lens' NotificationsDelete Text Source #

The parent bucket of the notification.

ndUserProject :: Lens' NotificationsDelete (Maybe Text) Source #

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