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

Copyright(c) 2015 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.Publish

Contents

Description

Publish a layer asset.

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

Synopsis

REST Resource

type LayersPublishResource = "mapsengine" :> ("v1" :> ("layers" :> (Capture "id" Text :> ("publish" :> (QueryParam "force" Bool :> (QueryParam "alt" AltJSON :> Post `[JSON]` PublishResponse)))))) Source

A resource alias for mapsengine.layers.publish method which the LayersPublish request conforms to.

Creating a Request

layersPublish Source

Arguments

:: Text

lpId

-> LayersPublish 

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

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

Request Lenses

lpForce :: Lens' LayersPublish (Maybe Bool) Source

If set to true, the API will allow publication of the layer even if it's out of date. If not true, you'll need to reprocess any out-of-date layer before publishing.

lpId :: Lens' LayersPublish Text Source

The ID of the layer.