gogol-admin-directory-0.3.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.Patch

Contents

Description

Updates a notification. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for directory.notifications.patch method which the NotificationsPatch request conforms to.

Creating a Request

notificationsPatch Source #

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

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

data NotificationsPatch Source #

Updates a notification. This method supports patch semantics.

See: notificationsPatch smart constructor.

Instances

Eq NotificationsPatch Source # 
Data NotificationsPatch Source # 

Methods

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

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

toConstr :: NotificationsPatch -> Constr #

dataTypeOf :: NotificationsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationsPatch Source # 
Generic NotificationsPatch Source # 
GoogleRequest NotificationsPatch Source # 
type Rep NotificationsPatch Source # 
type Rep NotificationsPatch = D1 (MetaData "NotificationsPatch" "Network.Google.Resource.Directory.Notifications.Patch" "gogol-admin-directory-0.3.0-JrdiABG5d519qiNpH4uyxk" False) (C1 (MetaCons "NotificationsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_npPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Notification)) ((:*:) (S1 (MetaSel (Just Symbol "_npCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_npNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes NotificationsPatch Source # 
type Scopes NotificationsPatch = (:) Symbol "https://www.googleapis.com/auth/admin.directory.notifications" ([] Symbol)
type Rs NotificationsPatch Source # 

Request Lenses

npPayload :: Lens' NotificationsPatch Notification Source #

Multipart request metadata.

npCustomer :: Lens' NotificationsPatch Text Source #

The unique ID for the customer's Google account.

npNotificationId :: Lens' NotificationsPatch Text Source #

The unique ID of the notification.