| 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 |
Network.Google.Resource.Storage.BucketAccessControls.Patch
Description
Patches an ACL entry on the specified bucket.
See: Cloud Storage JSON API Reference for storage.bucketAccessControls.patch.
Synopsis
- type BucketAccessControlsPatchResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BucketAccessControl :> Patch '[JSON] BucketAccessControl))))))))
- bucketAccessControlsPatch :: Text -> BucketAccessControl -> Text -> BucketAccessControlsPatch
- data BucketAccessControlsPatch
- bacpBucket :: Lens' BucketAccessControlsPatch Text
- bacpPayload :: Lens' BucketAccessControlsPatch BucketAccessControl
- bacpUserProject :: Lens' BucketAccessControlsPatch (Maybe Text)
- bacpEntity :: Lens' BucketAccessControlsPatch Text
REST Resource
type BucketAccessControlsPatchResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BucketAccessControl :> Patch '[JSON] BucketAccessControl)))))))) Source #
A resource alias for storage.bucketAccessControls.patch method which the
BucketAccessControlsPatch request conforms to.
Creating a Request
bucketAccessControlsPatch Source #
Arguments
| :: Text | |
| -> BucketAccessControl | |
| -> Text | |
| -> BucketAccessControlsPatch |
Creates a value of BucketAccessControlsPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BucketAccessControlsPatch Source #
Patches an ACL entry on the specified bucket.
See: bucketAccessControlsPatch smart constructor.
Instances
Request Lenses
bacpBucket :: Lens' BucketAccessControlsPatch Text Source #
Name of a bucket.
bacpPayload :: Lens' BucketAccessControlsPatch BucketAccessControl Source #
Multipart request metadata.
bacpUserProject :: Lens' BucketAccessControlsPatch (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.
bacpEntity :: Lens' BucketAccessControlsPatch Text Source #
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.