| 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 |
Network.Google.Resource.MapsEngine.Layers.Delete
Description
Delete a layer.
See: Google Maps Engine API Reference for mapsengine.layers.delete.
- type LayersDeleteResource = "mapsengine" :> ("v1" :> ("layers" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))
- layersDelete :: Text -> LayersDelete
- data LayersDelete
- ldId :: Lens' LayersDelete Text
REST Resource
type LayersDeleteResource = "mapsengine" :> ("v1" :> ("layers" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))) Source
A resource alias for mapsengine.layers.delete method which the
LayersDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> LayersDelete |
Creates a value of LayersDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
ldId :: Lens' LayersDelete Text Source
The ID of the layer. Only the layer creator or project owner are permitted to delete. If the layer is published, or included in a map, the request will fail. Unpublish the layer, and remove it from all maps prior to deleting.