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

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

Data NotificationsList Source # 
Instance details

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

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

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

Generic NotificationsList Source # 
Instance details

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

Associated Types

type Rep NotificationsList :: Type -> Type #

GoogleRequest NotificationsList Source # 
Instance details

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

Associated Types

type Rs NotificationsList :: Type #

type Scopes NotificationsList :: [Symbol] #

type Rep NotificationsList Source # 
Instance details

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

type Rep NotificationsList = D1 (MetaData "NotificationsList" "Network.Google.Resource.Directory.Notifications.List" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "NotificationsList'" PrefixI True) ((S1 (MetaSel (Just "_nlCustomer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_nlLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_nlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))
type Scopes NotificationsList Source # 
Instance details

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

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

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

Request Lenses

nlCustomer :: Lens' NotificationsList Text Source #

The unique ID for the customer's G Suite 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.