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.Layers.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.layers.permissions.batchUpdate.

Synopsis

REST Resource

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

A resource alias for mapsengine.layers.permissions.batchUpdate method which the LayersPermissionsBatchUpdate request conforms to.

Creating a Request

layersPermissionsBatchUpdate Source

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

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

Request Lenses

lpbuId :: Lens' LayersPermissionsBatchUpdate Text Source

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