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 |
Remove permission entries from an already existing asset.
See: Google Maps Engine API Reference for mapsengine.maps.permissions.batchDelete
.
- type MapsPermissionsBatchDeleteResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> ("permissions" :> ("batchDelete" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` PermissionsBatchDeleteRequest :> Post `[JSON]` PermissionsBatchDeleteResponse)))))))
- mapsPermissionsBatchDelete :: PermissionsBatchDeleteRequest -> Text -> MapsPermissionsBatchDelete
- data MapsPermissionsBatchDelete
- mpbdPayload :: Lens' MapsPermissionsBatchDelete PermissionsBatchDeleteRequest
- mpbdId :: Lens' MapsPermissionsBatchDelete Text
REST Resource
type MapsPermissionsBatchDeleteResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> ("permissions" :> ("batchDelete" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` PermissionsBatchDeleteRequest :> Post `[JSON]` PermissionsBatchDeleteResponse))))))) Source
A resource alias for mapsengine.maps.permissions.batchDelete
method which the
MapsPermissionsBatchDelete
request conforms to.
Creating a Request
mapsPermissionsBatchDelete Source
Creates a value of MapsPermissionsBatchDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MapsPermissionsBatchDelete Source
Remove permission entries from an already existing asset.
See: mapsPermissionsBatchDelete
smart constructor.
Request Lenses
mpbdPayload :: Lens' MapsPermissionsBatchDelete PermissionsBatchDeleteRequest Source
Multipart request metadata.
mpbdId :: Lens' MapsPermissionsBatchDelete Text Source
The ID of the asset from which permissions will be removed.