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.Get

Contents

Description

Retrieves a notification.

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

Synopsis

REST Resource

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

A resource alias for directory.notifications.get method which the NotificationsGet request conforms to.

Creating a Request

notificationsGet Source #

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

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

data NotificationsGet Source #

Retrieves a notification.

See: notificationsGet smart constructor.

Instances
Eq NotificationsGet Source # 
Instance details

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

Data NotificationsGet Source # 
Instance details

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

Methods

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

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

toConstr :: NotificationsGet -> Constr #

dataTypeOf :: NotificationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationsGet Source # 
Instance details

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

Generic NotificationsGet Source # 
Instance details

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

Associated Types

type Rep NotificationsGet :: Type -> Type #

GoogleRequest NotificationsGet Source # 
Instance details

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

Associated Types

type Rs NotificationsGet :: Type #

type Scopes NotificationsGet :: [Symbol] #

type Rep NotificationsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

ngCustomer :: Lens' NotificationsGet Text Source #

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

ngNotificationId :: Lens' NotificationsGet Text Source #

The unique ID of the notification.