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.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:

data MapsPublish Source #

Publish a map asset.

See: mapsPublish smart constructor.

Instances

Eq MapsPublish Source # 
Data MapsPublish Source # 

Methods

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

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

toConstr :: MapsPublish -> Constr #

dataTypeOf :: MapsPublish -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MapsPublish Source # 
Generic MapsPublish Source # 

Associated Types

type Rep MapsPublish :: * -> * #

GoogleRequest MapsPublish Source # 

Associated Types

type Rs MapsPublish :: * #

type Scopes MapsPublish :: [Symbol] #

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

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.