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.Maps.Publish

Contents

Description

Publish a map asset.

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

Synopsis

REST Resource

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

A resource alias for mapsengine.maps.publish method which the MapsPublish request conforms to.

Creating a Request

mapsPublish Source

Arguments

:: Text

mapId

-> MapsPublish 

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

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

Request Lenses

mapForce :: Lens' MapsPublish (Maybe Bool) Source

If set to true, the API will allow publication of the map even if it's out of date. If false, the map must have a processingStatus of complete before publishing.

mapId :: Lens' MapsPublish Text Source

The ID of the map.