| 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.MapsEngine.Layers.Patch
Description
Mutate a layer asset.
See: Google Maps Engine API Reference for mapsengine.layers.patch.
- type LayersPatchResource = "mapsengine" :> ("v1" :> ("layers" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Layer :> Patch '[JSON] ())))))
- layersPatch :: Layer -> Text -> LayersPatch
- data LayersPatch
- lppPayload :: Lens' LayersPatch Layer
- lppId :: Lens' LayersPatch Text
REST Resource
type LayersPatchResource = "mapsengine" :> ("v1" :> ("layers" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Layer :> Patch '[JSON] ()))))) Source #
A resource alias for mapsengine.layers.patch method which the
LayersPatch request conforms to.
Creating a Request
Arguments
| :: Layer | |
| -> Text | |
| -> LayersPatch |
Creates a value of LayersPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
lppPayload :: Lens' LayersPatch Layer Source #
Multipart request metadata.