gogol-dfareporting-0.5.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.Countries.Get

Contents

Description

Gets one country by ID.

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

Synopsis

REST Resource

type CountriesGetResource = "dfareporting" :> ("v3.3" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("countries" :> (Capture "dartId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Country)))))) Source #

A resource alias for dfareporting.countries.get method which the CountriesGet request conforms to.

Creating a Request

countriesGet Source #

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

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

data CountriesGet Source #

Gets one country by ID.

See: countriesGet smart constructor.

Instances
Eq CountriesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Countries.Get

Data CountriesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Countries.Get

Methods

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

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

toConstr :: CountriesGet -> Constr #

dataTypeOf :: CountriesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CountriesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Countries.Get

Generic CountriesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Countries.Get

Associated Types

type Rep CountriesGet :: Type -> Type #

GoogleRequest CountriesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Countries.Get

Associated Types

type Rs CountriesGet :: Type #

type Scopes CountriesGet :: [Symbol] #

type Rep CountriesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Countries.Get

type Rep CountriesGet = D1 (MetaData "CountriesGet" "Network.Google.Resource.DFAReporting.Countries.Get" "gogol-dfareporting-0.5.0-H2nEimqYPoYBpPsdI4WnkF" False) (C1 (MetaCons "CountriesGet'" PrefixI True) (S1 (MetaSel (Just "_cgProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_cgDartId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))
type Scopes CountriesGet Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Countries.Get

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

Defined in Network.Google.Resource.DFAReporting.Countries.Get

Request Lenses

cgProFileId :: Lens' CountriesGet Int64 Source #

User profile ID associated with this request.