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

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

Data AccountsGet Source # 
Instance details

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

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

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

Generic AccountsGet Source # 
Instance details

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

Associated Types

type Rep AccountsGet :: Type -> Type #

GoogleRequest AccountsGet Source # 
Instance details

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

Associated Types

type Rs AccountsGet :: Type #

type Scopes AccountsGet :: [Symbol] #

type Rep AccountsGet Source # 
Instance details

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

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

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

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

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

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.