| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.DFAReporting.PostalCodes.Get
Description
Gets one postal code by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.postalCodes.get.
Synopsis
- type PostalCodesGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("postalCodes" :> (Capture "code" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] PostalCode))))))
- postalCodesGet :: Int64 -> Text -> PostalCodesGet
- data PostalCodesGet
- pcgProFileId :: Lens' PostalCodesGet Int64
- pcgCode :: Lens' PostalCodesGet Text
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
Arguments
| :: Int64 | |
| -> Text | |
| -> PostalCodesGet |
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
Request Lenses
pcgProFileId :: Lens' PostalCodesGet Int64 Source #
User profile ID associated with this request.