gogol-dfareporting-0.1.0: Google DCM/DFA Reporting And Trafficking 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.DFAReporting.SubAccounts.Get

Contents

Description

Gets one subaccount by ID.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.subaccounts.get.

Synopsis

REST Resource

type SubAccountsGetResource = "dfareporting" :> ("v2.5" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("subaccounts" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] SubAccount)))))) Source #

A resource alias for dfareporting.subaccounts.get method which the SubAccountsGet request conforms to.

Creating a Request

subAccountsGet Source #

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

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

data SubAccountsGet Source #

Gets one subaccount by ID.

See: subAccountsGet smart constructor.

Instances

Eq SubAccountsGet Source # 
Data SubAccountsGet Source # 

Methods

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

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

toConstr :: SubAccountsGet -> Constr #

dataTypeOf :: SubAccountsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubAccountsGet Source # 
Generic SubAccountsGet Source # 

Associated Types

type Rep SubAccountsGet :: * -> * #

GoogleRequest SubAccountsGet Source # 
type Rep SubAccountsGet Source # 
type Rep SubAccountsGet = D1 (MetaData "SubAccountsGet" "Network.Google.Resource.DFAReporting.SubAccounts.Get" "gogol-dfareporting-0.1.0-KEBAT3IXpFyJcea2FOz34a" False) (C1 (MetaCons "SubAccountsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sagProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_sagId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes SubAccountsGet Source # 
type Scopes SubAccountsGet = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs SubAccountsGet Source # 

Request Lenses

sagProFileId :: Lens' SubAccountsGet Int64 Source #

User profile ID associated with this request.