gogol-adsense-0.4.0: Google AdSense Management 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.AdSense.Accounts.Alerts.List

Contents

Description

List the alerts for the specified AdSense account.

See: AdSense Management API Reference for adsense.accounts.alerts.list.

Synopsis

REST Resource

type AccountsAlertsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("alerts" :> (QueryParam "locale" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Alerts)))))) Source #

A resource alias for adsense.accounts.alerts.list method which the AccountsAlertsList request conforms to.

Creating a Request

accountsAlertsList Source #

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

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

data AccountsAlertsList Source #

List the alerts for the specified AdSense account.

See: accountsAlertsList smart constructor.

Instances
Eq AccountsAlertsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Alerts.List

Data AccountsAlertsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Alerts.List

Methods

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

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

toConstr :: AccountsAlertsList -> Constr #

dataTypeOf :: AccountsAlertsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsAlertsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Alerts.List

Generic AccountsAlertsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Alerts.List

Associated Types

type Rep AccountsAlertsList :: Type -> Type #

GoogleRequest AccountsAlertsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Alerts.List

Associated Types

type Rs AccountsAlertsList :: Type #

type Scopes AccountsAlertsList :: [Symbol] #

type Rep AccountsAlertsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Alerts.List

type Rep AccountsAlertsList = D1 (MetaData "AccountsAlertsList" "Network.Google.Resource.AdSense.Accounts.Alerts.List" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "AccountsAlertsList'" PrefixI True) (S1 (MetaSel (Just "_aalLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aalAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes AccountsAlertsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Alerts.List

type Scopes AccountsAlertsList = "https://www.googleapis.com/auth/adsense" ': ("https://www.googleapis.com/auth/adsense.readonly" ': ([] :: [Symbol]))
type Rs AccountsAlertsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.Alerts.List

Request Lenses

aalLocale :: Lens' AccountsAlertsList (Maybe Text) Source #

The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.

aalAccountId :: Lens' AccountsAlertsList Text Source #

Account for which to retrieve the alerts.