gogol-admin-directory-0.4.0: Google Admin Directory 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.Directory.Notifications.Delete

Contents

Description

Deletes a notification

See: Admin Directory API Reference for directory.notifications.delete.

Synopsis

REST Resource

type NotificationsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("notifications" :> (Capture "notificationId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #

A resource alias for directory.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 #

Deletes a notification

See: notificationsDelete smart constructor.

Instances
Eq NotificationsDelete Source # 
Instance details

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

Data NotificationsDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.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.Directory.Notifications.Delete

Generic NotificationsDelete Source # 
Instance details

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

Associated Types

type Rep NotificationsDelete :: Type -> Type #

GoogleRequest NotificationsDelete Source # 
Instance details

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

Associated Types

type Rs NotificationsDelete :: Type #

type Scopes NotificationsDelete :: [Symbol] #

type Rep NotificationsDelete Source # 
Instance details

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

type Rep NotificationsDelete = D1 (MetaData "NotificationsDelete" "Network.Google.Resource.Directory.Notifications.Delete" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "NotificationsDelete'" PrefixI True) (S1 (MetaSel (Just "_ndCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ndNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes NotificationsDelete Source # 
Instance details

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

type Scopes NotificationsDelete = "https://www.googleapis.com/auth/admin.directory.notifications" ': ([] :: [Symbol])
type Rs NotificationsDelete Source # 
Instance details

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

Request Lenses

ndCustomer :: Lens' NotificationsDelete Text Source #

The unique ID for the customer's G Suite account. The customerId is also returned as part of the Users resource.

ndNotificationId :: Lens' NotificationsDelete Text Source #

The unique ID of the notification.