Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.MapsEngine.Maps.Publish
Description
Publish a map asset.
See: Google Maps Engine API Reference for mapsengine.maps.publish
.
- type MapsPublishResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> ("publish" :> (QueryParam "force" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] PublishResponse))))))
- mapsPublish :: Text -> MapsPublish
- data MapsPublish
- mapForce :: Lens' MapsPublish (Maybe Bool)
- mapId :: Lens' MapsPublish Text
REST Resource
type MapsPublishResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> ("publish" :> (QueryParam "force" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] PublishResponse)))))) #
A resource alias for mapsengine.maps.publish
method which the
MapsPublish
request conforms to.
Creating a Request
Arguments
:: Text | |
-> 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:
data MapsPublish #
Publish a map asset.
See: mapsPublish
smart constructor.
Instances
Eq MapsPublish # | |
Data MapsPublish # | |
Show MapsPublish # | |
Generic MapsPublish # | |
GoogleRequest MapsPublish # | |
type Rep MapsPublish # | |
type Scopes MapsPublish # | |
type Rs MapsPublish # | |
Request Lenses
mapForce :: Lens' MapsPublish (Maybe Bool) #
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 #
The ID of the map.