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

data LayersPublish Source #

Publish a layer asset.

See: layersPublish smart constructor.

Instances

Eq LayersPublish Source # 
Data LayersPublish Source # 

Methods

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

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

toConstr :: LayersPublish -> Constr #

dataTypeOf :: LayersPublish -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LayersPublish Source # 
Generic LayersPublish Source # 

Associated Types

type Rep LayersPublish :: * -> * #

GoogleRequest LayersPublish Source # 

Associated Types

type Rs LayersPublish :: * #

type Scopes LayersPublish :: [Symbol] #

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

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.