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.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 # 
Instance details

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

Data NotificationsUpdate Source # 
Instance details

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

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 # 
Instance details

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

Generic NotificationsUpdate Source # 
Instance details

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

Associated Types

type Rep NotificationsUpdate :: Type -> Type #

GoogleRequest NotificationsUpdate Source # 
Instance details

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

Associated Types

type Rs NotificationsUpdate :: Type #

type Scopes NotificationsUpdate :: [Symbol] #

type Rep NotificationsUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

nuPayload :: Lens' NotificationsUpdate Notification Source #

Multipart request metadata.

nuCustomer :: Lens' NotificationsUpdate Text Source #

The unique ID for the customer's G Suite account.

nuNotificationId :: Lens' NotificationsUpdate Text Source #

The unique ID of the notification.