Copyright | (c) 2015 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 |
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
:: 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:
data LayersPatch Source
Mutate a layer asset.
See: layersPatch
smart constructor.
Request Lenses
lppPayload :: Lens' LayersPatch Layer Source
Multipart request metadata.
lppId :: Lens' LayersPatch Text Source
The ID of the layer.