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 |
Updates an ACL entry on the specified bucket. This method supports patch semantics.
See: Cloud Storage JSON API Reference for storage.bucketAccessControls.patch
.
- type BucketAccessControlsPatchResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (Capture "entity" 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
- bacpEntity :: Lens' BucketAccessControlsPatch Text
REST Resource
type BucketAccessControlsPatchResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (Capture "entity" 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 #
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 #
Updates an ACL entry on the specified bucket. This method supports patch semantics.
See: bucketAccessControlsPatch
smart constructor.
Request Lenses
bacpBucket :: Lens' BucketAccessControlsPatch Text Source #
Name of a bucket.
bacpPayload :: Lens' BucketAccessControlsPatch BucketAccessControl Source #
Multipart request metadata.
bacpEntity :: Lens' BucketAccessControlsPatch Text Source #
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.