gogol-maps-engine-0.2.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.Patch

Contents

Description

Mutate a map asset.

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

Synopsis

REST Resource

type MapsPatchResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Map :> Patch '[JSON] ()))))) Source #

A resource alias for mapsengine.maps.patch method which the MapsPatch request conforms to.

Creating a Request

mapsPatch Source #

Arguments

:: Map

mpPayload

-> Text

mpId

-> MapsPatch 

Creates a value of MapsPatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data MapsPatch Source #

Mutate a map asset.

See: mapsPatch smart constructor.

Instances

Eq MapsPatch Source # 
Data MapsPatch Source # 

Methods

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

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

toConstr :: MapsPatch -> Constr #

dataTypeOf :: MapsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MapsPatch Source # 
Generic MapsPatch Source # 

Associated Types

type Rep MapsPatch :: * -> * #

GoogleRequest MapsPatch Source # 

Associated Types

type Rs MapsPatch :: * #

type Scopes MapsPatch :: [Symbol] #

type Rep MapsPatch Source # 
type Rep MapsPatch = D1 (MetaData "MapsPatch" "Network.Google.Resource.MapsEngine.Maps.Patch" "gogol-maps-engine-0.2.0-2bpteR2QZNW3x0T2dUmzGZ" False) (C1 (MetaCons "MapsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Map)) (S1 (MetaSel (Just Symbol "_mpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes MapsPatch Source # 
type Scopes MapsPatch = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ([] Symbol)
type Rs MapsPatch Source # 
type Rs MapsPatch = ()

Request Lenses

mpPayload :: Lens' MapsPatch Map Source #

Multipart request metadata.

mpId :: Lens' MapsPatch Text Source #

The ID of the map.