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.Maps.Permissions.BatchUpdate

Contents

Description

Add or update permission entries to an already existing asset. An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.

See: Google Maps Engine API Reference for mapsengine.maps.permissions.batchUpdate.

Synopsis

REST Resource

type MapsPermissionsBatchUpdateResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> ("permissions" :> ("batchUpdate" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` PermissionsBatchUpdateRequest :> Post `[JSON]` PermissionsBatchUpdateResponse))))))) Source

A resource alias for mapsengine.maps.permissions.batchUpdate method which the MapsPermissionsBatchUpdate request conforms to.

Creating a Request

mapsPermissionsBatchUpdate Source

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

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

data MapsPermissionsBatchUpdate Source

Add or update permission entries to an already existing asset. An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.

See: mapsPermissionsBatchUpdate smart constructor.

Request Lenses

mpbuId :: Lens' MapsPermissionsBatchUpdate Text Source

The ID of the asset to which permissions will be added.