gogol-dfareporting-0.4.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" :> ("v3.2" :> ("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 # 
Instance details

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

Data PostalCodesGet Source # 
Instance details

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

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

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

Generic PostalCodesGet Source # 
Instance details

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

Associated Types

type Rep PostalCodesGet :: Type -> Type #

GoogleRequest PostalCodesGet Source # 
Instance details

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

Associated Types

type Rs PostalCodesGet :: Type #

type Scopes PostalCodesGet :: [Symbol] #

type Rep PostalCodesGet Source # 
Instance details

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

type Rep PostalCodesGet = D1 (MetaData "PostalCodesGet" "Network.Google.Resource.DFAReporting.PostalCodes.Get" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "PostalCodesGet'" PrefixI True) (S1 (MetaSel (Just "_pcgProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_pcgCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes PostalCodesGet Source # 
Instance details

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

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

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

Request Lenses

pcgProFileId :: Lens' PostalCodesGet Int64 Source #

User profile ID associated with this request.