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

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

Data NotificationsPatch Source # 
Instance details

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

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

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

Generic NotificationsPatch Source # 
Instance details

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

Associated Types

type Rep NotificationsPatch :: Type -> Type #

GoogleRequest NotificationsPatch Source # 
Instance details

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

Associated Types

type Rs NotificationsPatch :: Type #

type Scopes NotificationsPatch :: [Symbol] #

type Rep NotificationsPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

npPayload :: Lens' NotificationsPatch Notification Source #

Multipart request metadata.

npCustomer :: Lens' NotificationsPatch Text Source #

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

npNotificationId :: Lens' NotificationsPatch Text Source #

The unique ID of the notification.