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.PostalCodes.Get

Contents

Description

Gets one postal code by ID.

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

Synopsis

REST Resource

type PostalCodesGetResource = "dfareporting" :> ("v2.5" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("postalCodes" :> (Capture "code" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] PostalCode)))))) Source #

A resource alias for dfareporting.postalCodes.get method which the PostalCodesGet request conforms to.

Creating a Request

postalCodesGet Source #

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

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

data PostalCodesGet Source #

Gets one postal code by ID.

See: postalCodesGet smart constructor.

Instances

Eq PostalCodesGet Source # 
Data PostalCodesGet Source # 

Methods

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

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

toConstr :: PostalCodesGet -> Constr #

dataTypeOf :: PostalCodesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PostalCodesGet Source # 
Generic PostalCodesGet Source # 

Associated Types

type Rep PostalCodesGet :: * -> * #

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

Request Lenses

pcgProFileId :: Lens' PostalCodesGet Int64 Source #

User profile ID associated with this request.