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 |
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
.
- type TablesFeaturesBatchPatchResource = "mapsengine" :> ("v1" :> ("tables" :> (Capture "id" Text :> ("features" :> ("batchPatch" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FeaturesBatchPatchRequest :> Post '[JSON] ())))))))
- tablesFeaturesBatchPatch :: FeaturesBatchPatchRequest -> Text -> TablesFeaturesBatchPatch
- data TablesFeaturesBatchPatch
- tfbpPayload :: Lens' TablesFeaturesBatchPatch FeaturesBatchPatchRequest
- tfbpId :: Lens' TablesFeaturesBatchPatch Text
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
tfbpPayload :: Lens' TablesFeaturesBatchPatch FeaturesBatchPatchRequest Source #
Multipart request metadata.