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.Layers.Patch

Contents

Description

Mutate a layer asset.

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

Synopsis

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

layersPatch Source #

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.

Instances

Eq LayersPatch Source # 
Data LayersPatch Source # 

Methods

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

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

toConstr :: LayersPatch -> Constr #

dataTypeOf :: LayersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LayersPatch Source # 
Generic LayersPatch Source # 

Associated Types

type Rep LayersPatch :: * -> * #

GoogleRequest LayersPatch Source # 

Associated Types

type Rs LayersPatch :: * #

type Scopes LayersPatch :: [Symbol] #

type Rep LayersPatch Source # 
type Rep LayersPatch = D1 (MetaData "LayersPatch" "Network.Google.Resource.MapsEngine.Layers.Patch" "gogol-maps-engine-0.3.0-8urOfAmB6laBICTI61kKED" False) (C1 (MetaCons "LayersPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Layer)) (S1 (MetaSel (Just Symbol "_lppId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes LayersPatch Source # 
type Scopes LayersPatch = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ([] Symbol)
type Rs LayersPatch Source # 
type Rs LayersPatch = ()

Request Lenses

lppPayload :: Lens' LayersPatch Layer Source #

Multipart request metadata.

lppId :: Lens' LayersPatch Text Source #

The ID of the layer.