gogol-maps-engine-0.3.0: Google Maps Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.MapsEngine.Maps.Delete

Contents

Description

Delete a map.

See: Google Maps Engine API Reference for mapsengine.maps.delete.

Synopsis

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

mapsDelete #

Arguments

:: Text

mdId

-> 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 # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MapsDelete -> c MapsDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MapsDelete #

toConstr :: MapsDelete -> Constr #

dataTypeOf :: MapsDelete -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MapsDelete) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MapsDelete) #

gmapT :: (forall b. Data b => b -> b) -> MapsDelete -> MapsDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MapsDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MapsDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> MapsDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MapsDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MapsDelete -> m MapsDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MapsDelete -> m MapsDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MapsDelete -> m MapsDelete #

Show MapsDelete # 
Generic MapsDelete # 

Associated Types

type Rep MapsDelete :: * -> * #

GoogleRequest MapsDelete # 

Associated Types

type Rs MapsDelete :: * #

type Scopes MapsDelete :: [Symbol] #

type Rep MapsDelete # 
type Rep MapsDelete = D1 (MetaData "MapsDelete" "Network.Google.Resource.MapsEngine.Maps.Delete" "gogol-maps-engine-0.3.0-4Eb4GwFnVyLkfZLmBNKgP" True) (C1 (MetaCons "MapsDelete'" PrefixI True) (S1 (MetaSel (Just Symbol "_mdId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes MapsDelete # 
type Scopes MapsDelete = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ([] Symbol)
type Rs 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.