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 ACL entry for the specified entity on the specified object.
See: Cloud Storage JSON API Reference for storage.objectAccessControls.delete
.
Synopsis
- type ObjectAccessControlsDeleteResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (Capture "object" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "generation" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))))
- objectAccessControlsDelete :: Text -> Text -> Text -> ObjectAccessControlsDelete
- data ObjectAccessControlsDelete
- oacdBucket :: Lens' ObjectAccessControlsDelete Text
- oacdUserProject :: Lens' ObjectAccessControlsDelete (Maybe Text)
- oacdObject :: Lens' ObjectAccessControlsDelete Text
- oacdEntity :: Lens' ObjectAccessControlsDelete Text
- oacdGeneration :: Lens' ObjectAccessControlsDelete (Maybe Int64)
REST Resource
type ObjectAccessControlsDeleteResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (Capture "object" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "generation" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))))) Source #
A resource alias for storage.objectAccessControls.delete
method which the
ObjectAccessControlsDelete
request conforms to.
Creating a Request
objectAccessControlsDelete Source #
Creates a value of ObjectAccessControlsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ObjectAccessControlsDelete Source #
Permanently deletes the ACL entry for the specified entity on the specified object.
See: objectAccessControlsDelete
smart constructor.
Instances
Request Lenses
oacdBucket :: Lens' ObjectAccessControlsDelete Text Source #
Name of a bucket.
oacdUserProject :: Lens' ObjectAccessControlsDelete (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.
oacdObject :: Lens' ObjectAccessControlsDelete Text Source #
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
oacdEntity :: Lens' ObjectAccessControlsDelete Text Source #
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
oacdGeneration :: Lens' ObjectAccessControlsDelete (Maybe Int64) Source #
If present, selects a specific revision of this object (as opposed to the latest version, the default).