| 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.Maps.Delete
Description
Delete a map.
See: Google Maps Engine API Reference for mapsengine.maps.delete.
- type MapsDeleteResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))
- mapsDelete :: Text -> MapsDelete
- data MapsDelete
- mdId :: Lens' MapsDelete Text
REST Resource
type MapsDeleteResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) #
A resource alias for mapsengine.maps.delete method which the
MapsDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> MapsDelete |
Creates a value of MapsDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MapsDelete #
Delete a map.
See: mapsDelete smart constructor.
Instances
| Eq MapsDelete # | |
| Data MapsDelete # | |
| Show MapsDelete # | |
| Generic MapsDelete # | |
| GoogleRequest MapsDelete # | |
| type Rep MapsDelete # | |
| type Scopes MapsDelete # | |
| type Rs MapsDelete # | |
Request Lenses
mdId :: Lens' MapsDelete Text #
The ID of the map. Only the map creator or project owner are permitted to delete. If the map is published the request will fail. Unpublish the map prior to deleting.