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

Request Lenses

tfbpId :: Lens' TablesFeaturesBatchPatch Text Source

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