gogol-maps-engine-0.1.1: 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.Tables.Features.BatchPatch

Contents

Description

Update the supplied features. A single batchPatch request can update: - Up to 50 features. - A combined total of 10 000 vertices. Feature limits are documented in the Supported data formats and limits article of the Google Maps Engine help center. Note that free and paid accounts have different limits. Feature updates use HTTP PATCH semantics: - A supplied value replaces an existing value (if any) in that field. - Omitted fields remain unchanged. - Complex values in geometries and properties must be replaced as atomic units. For example, providing just the coordinates of a geometry is not allowed; the complete geometry, including type, must be supplied. - Setting a property's value to null deletes that property. For more information about updating features, read Updating features in the Google Maps Engine developer's guide.

See: Google Maps Engine API Reference for mapsengine.tables.features.batchPatch.

Synopsis

REST Resource

type TablesFeaturesBatchPatchResource = "mapsengine" :> ("v1" :> ("tables" :> (Capture "id" Text :> ("features" :> ("batchPatch" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FeaturesBatchPatchRequest :> Post '[JSON] ()))))))) Source #

A resource alias for mapsengine.tables.features.batchPatch method which the TablesFeaturesBatchPatch request conforms to.

Creating a Request

tablesFeaturesBatchPatch Source #

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

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

data TablesFeaturesBatchPatch Source #

Update the supplied features. A single batchPatch request can update: - Up to 50 features. - A combined total of 10 000 vertices. Feature limits are documented in the Supported data formats and limits article of the Google Maps Engine help center. Note that free and paid accounts have different limits. Feature updates use HTTP PATCH semantics: - A supplied value replaces an existing value (if any) in that field. - Omitted fields remain unchanged. - Complex values in geometries and properties must be replaced as atomic units. For example, providing just the coordinates of a geometry is not allowed; the complete geometry, including type, must be supplied. - Setting a property's value to null deletes that property. For more information about updating features, read Updating features in the Google Maps Engine developer's guide.

See: tablesFeaturesBatchPatch smart constructor.

Instances

Eq TablesFeaturesBatchPatch Source # 
Data TablesFeaturesBatchPatch Source # 

Methods

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

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

toConstr :: TablesFeaturesBatchPatch -> Constr #

dataTypeOf :: TablesFeaturesBatchPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TablesFeaturesBatchPatch Source # 
Generic TablesFeaturesBatchPatch Source # 
GoogleRequest TablesFeaturesBatchPatch Source # 
type Rep TablesFeaturesBatchPatch Source # 
type Rep TablesFeaturesBatchPatch = D1 (MetaData "TablesFeaturesBatchPatch" "Network.Google.Resource.MapsEngine.Tables.Features.BatchPatch" "gogol-maps-engine-0.1.1-3VW0k8BveQXImTfJ79Ve4K" False) (C1 (MetaCons "TablesFeaturesBatchPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tfbpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 FeaturesBatchPatchRequest)) (S1 (MetaSel (Just Symbol "_tfbpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TablesFeaturesBatchPatch Source # 
type Scopes TablesFeaturesBatchPatch = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ([] Symbol)
type Rs TablesFeaturesBatchPatch Source # 

Request Lenses

tfbpId :: Lens' TablesFeaturesBatchPatch Text Source #

The ID of the table containing the features to be patched.