Copyright | (c) 2015-2016 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 |
Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
See: Cloud Storage JSON API Reference for storage.defaultObjectAccessControls.delete
.
Synopsis
- type DefaultObjectAccessControlsDeleteResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- defaultObjectAccessControlsDelete :: Text -> Text -> DefaultObjectAccessControlsDelete
- data DefaultObjectAccessControlsDelete
- doacdBucket :: Lens' DefaultObjectAccessControlsDelete Text
- doacdUserProject :: Lens' DefaultObjectAccessControlsDelete (Maybe Text)
- doacdEntity :: Lens' DefaultObjectAccessControlsDelete Text
REST Resource
type DefaultObjectAccessControlsDeleteResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for storage.defaultObjectAccessControls.delete
method which the
DefaultObjectAccessControlsDelete
request conforms to.
Creating a Request
defaultObjectAccessControlsDelete Source #
Creates a value of DefaultObjectAccessControlsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DefaultObjectAccessControlsDelete Source #
Permanently deletes the default object ACL entry for the specified entity on the specified bucket.
See: defaultObjectAccessControlsDelete
smart constructor.
Instances
Request Lenses
doacdBucket :: Lens' DefaultObjectAccessControlsDelete Text Source #
Name of a bucket.
doacdUserProject :: Lens' DefaultObjectAccessControlsDelete (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.
doacdEntity :: Lens' DefaultObjectAccessControlsDelete Text Source #
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.