gogol-maps-engine-0.3.0: 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.RasterCollections.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.rasterCollections.permissions.batchUpdate.

Synopsis

REST Resource

type RasterCollectionsPermissionsBatchUpdateResource = "mapsengine" :> ("v1" :> ("rasterCollections" :> (Capture "id" Text :> ("permissions" :> ("batchUpdate" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PermissionsBatchUpdateRequest :> Post '[JSON] PermissionsBatchUpdateResponse))))))) Source #

A resource alias for mapsengine.rasterCollections.permissions.batchUpdate method which the RasterCollectionsPermissionsBatchUpdate request conforms to.

Creating a Request

rasterCollectionsPermissionsBatchUpdate Source #

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

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

data RasterCollectionsPermissionsBatchUpdate 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: rasterCollectionsPermissionsBatchUpdate smart constructor.

Instances

Eq RasterCollectionsPermissionsBatchUpdate Source # 
Data RasterCollectionsPermissionsBatchUpdate Source # 

Methods

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

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

toConstr :: RasterCollectionsPermissionsBatchUpdate -> Constr #

dataTypeOf :: RasterCollectionsPermissionsBatchUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RasterCollectionsPermissionsBatchUpdate Source # 
Generic RasterCollectionsPermissionsBatchUpdate Source # 
GoogleRequest RasterCollectionsPermissionsBatchUpdate Source # 
type Rep RasterCollectionsPermissionsBatchUpdate Source # 
type Rep RasterCollectionsPermissionsBatchUpdate = D1 (MetaData "RasterCollectionsPermissionsBatchUpdate" "Network.Google.Resource.MapsEngine.RasterCollections.Permissions.BatchUpdate" "gogol-maps-engine-0.3.0-8urOfAmB6laBICTI61kKED" False) (C1 (MetaCons "RasterCollectionsPermissionsBatchUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rcpbuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PermissionsBatchUpdateRequest)) (S1 (MetaSel (Just Symbol "_rcpbuId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes RasterCollectionsPermissionsBatchUpdate Source # 
type Scopes RasterCollectionsPermissionsBatchUpdate = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ([] Symbol)
type Rs RasterCollectionsPermissionsBatchUpdate Source # 

Request Lenses

rcpbuId :: Lens' RasterCollectionsPermissionsBatchUpdate Text Source #

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