gogol-adsense-0.3.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.Get

Contents

Description

Get information about the selected AdSense account.

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

Synopsis

REST Resource

type AccountsGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "tree" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] Account))))) Source #

A resource alias for adsense.accounts.get method which the AccountsGet request conforms to.

Creating a Request

accountsGet Source #

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

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

data AccountsGet Source #

Get information about the selected AdSense account.

See: accountsGet smart constructor.

Instances

Eq AccountsGet Source # 
Data AccountsGet Source # 

Methods

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

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

toConstr :: AccountsGet -> Constr #

dataTypeOf :: AccountsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsGet Source # 
Generic AccountsGet Source # 

Associated Types

type Rep AccountsGet :: * -> * #

GoogleRequest AccountsGet Source # 

Associated Types

type Rs AccountsGet :: * #

type Scopes AccountsGet :: [Symbol] #

type Rep AccountsGet Source # 
type Rep AccountsGet = D1 (MetaData "AccountsGet" "Network.Google.Resource.AdSense.Accounts.Get" "gogol-adsense-0.3.0-FwIbMoY0rKHJ5XDu58gN9u" False) (C1 (MetaCons "AccountsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_agTree") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_agAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes AccountsGet Source # 
type Scopes AccountsGet = (:) Symbol "https://www.googleapis.com/auth/adsense" ((:) Symbol "https://www.googleapis.com/auth/adsense.readonly" ([] Symbol))
type Rs AccountsGet Source # 

Request Lenses

agTree :: Lens' AccountsGet (Maybe Bool) Source #

Whether the tree of sub accounts should be returned.

agAccountId :: Lens' AccountsGet Text Source #

Account to get information about.