Copyright | (c) 2015 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 |
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
.
- type RasterCollectionsPermissionsBatchUpdateResource = "mapsengine" :> ("v1" :> ("rasterCollections" :> (Capture "id" Text :> ("permissions" :> ("batchUpdate" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` PermissionsBatchUpdateRequest :> Post `[JSON]` PermissionsBatchUpdateResponse)))))))
- rasterCollectionsPermissionsBatchUpdate :: PermissionsBatchUpdateRequest -> Text -> RasterCollectionsPermissionsBatchUpdate
- data RasterCollectionsPermissionsBatchUpdate
- rcpbuPayload :: Lens' RasterCollectionsPermissionsBatchUpdate PermissionsBatchUpdateRequest
- rcpbuId :: Lens' RasterCollectionsPermissionsBatchUpdate Text
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.
Request Lenses
rcpbuPayload :: Lens' RasterCollectionsPermissionsBatchUpdate PermissionsBatchUpdateRequest Source
Multipart request metadata.
rcpbuId :: Lens' RasterCollectionsPermissionsBatchUpdate Text Source
The ID of the asset to which permissions will be added.