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

Contents

Description

List all accounts available to this AdSense account.

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

Synopsis

REST Resource

type AccountsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts))))) Source #

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

Creating a Request

accountsList :: AccountsList Source #

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

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

data AccountsList Source #

List all accounts available to this AdSense account.

See: accountsList smart constructor.

Instances
Eq AccountsList Source # 
Instance details

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

Data AccountsList Source # 
Instance details

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

Methods

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

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

toConstr :: AccountsList -> Constr #

dataTypeOf :: AccountsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsList Source # 
Instance details

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

Generic AccountsList Source # 
Instance details

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

Associated Types

type Rep AccountsList :: Type -> Type #

GoogleRequest AccountsList Source # 
Instance details

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

Associated Types

type Rs AccountsList :: Type #

type Scopes AccountsList :: [Symbol] #

type Rep AccountsList Source # 
Instance details

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

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

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

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

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

Request Lenses

alPageToken :: Lens' AccountsList (Maybe Text) Source #

A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.

alMaxResults :: Lens' AccountsList (Maybe Int32) Source #

The maximum number of accounts to include in the response, used for paging.