gogol-admin-directory-0.1.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.Update

Contents

Description

Updates a notification.

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

Synopsis

REST Resource

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

A resource alias for directory.notifications.update method which the NotificationsUpdate request conforms to.

Creating a Request

notificationsUpdate Source #

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

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

data NotificationsUpdate Source #

Updates a notification.

See: notificationsUpdate smart constructor.

Instances

Eq NotificationsUpdate Source # 
Data NotificationsUpdate Source # 

Methods

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

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

toConstr :: NotificationsUpdate -> Constr #

dataTypeOf :: NotificationsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationsUpdate Source # 
Generic NotificationsUpdate Source # 
GoogleRequest NotificationsUpdate Source # 
type Rep NotificationsUpdate Source # 
type Rep NotificationsUpdate = D1 (MetaData "NotificationsUpdate" "Network.Google.Resource.Directory.Notifications.Update" "gogol-admin-directory-0.1.0-6Hl4AGA4XOQ2JjauO4m89n" False) (C1 (MetaCons "NotificationsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_nuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Notification)) ((:*:) (S1 (MetaSel (Just Symbol "_nuCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_nuNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes NotificationsUpdate Source # 
type Scopes NotificationsUpdate = (:) Symbol "https://www.googleapis.com/auth/admin.directory.notifications" ([] Symbol)
type Rs NotificationsUpdate Source # 

Request Lenses

nuPayload :: Lens' NotificationsUpdate Notification Source #

Multipart request metadata.

nuCustomer :: Lens' NotificationsUpdate Text Source #

The unique ID for the customer's Google account.

nuNotificationId :: Lens' NotificationsUpdate Text Source #

The unique ID of the notification.