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

Contents

Description

Retrieves a list of notifications.

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

Synopsis

REST Resource

type NotificationsListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("notifications" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Notifications))))))))) Source #

A resource alias for directory.notifications.list method which the NotificationsList request conforms to.

Creating a Request

notificationsList Source #

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

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

data NotificationsList Source #

Retrieves a list of notifications.

See: notificationsList smart constructor.

Instances

Eq NotificationsList Source # 
Data NotificationsList Source # 

Methods

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

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

toConstr :: NotificationsList -> Constr #

dataTypeOf :: NotificationsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationsList Source # 
Generic NotificationsList Source # 
GoogleRequest NotificationsList Source # 
type Rep NotificationsList Source # 
type Rep NotificationsList = D1 (MetaData "NotificationsList" "Network.Google.Resource.Directory.Notifications.List" "gogol-admin-directory-0.3.0-JrdiABG5d519qiNpH4uyxk" False) (C1 (MetaCons "NotificationsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_nlCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_nlLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_nlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_nlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes NotificationsList Source # 
type Scopes NotificationsList = (:) Symbol "https://www.googleapis.com/auth/admin.directory.notifications" ([] Symbol)
type Rs NotificationsList Source # 

Request Lenses

nlCustomer :: Lens' NotificationsList Text Source #

The unique ID for the customer's Google account.

nlLanguage :: Lens' NotificationsList (Maybe Text) Source #

The ISO 639-1 code of the language notifications are returned in. The default is English (en).

nlPageToken :: Lens' NotificationsList (Maybe Text) Source #

The token to specify the page of results to retrieve.

nlMaxResults :: Lens' NotificationsList (Maybe Word32) Source #

Maximum number of notifications to return per page. The default is 100.