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 |
Returns the ACL entry for the specified entity on the specified bucket.
See: Cloud Storage JSON API Reference for storage.bucketAccessControls.get
.
Synopsis
- type BucketAccessControlsGetResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BucketAccessControl)))))))
- bucketAccessControlsGet :: Text -> Text -> BucketAccessControlsGet
- data BucketAccessControlsGet
- bacgBucket :: Lens' BucketAccessControlsGet Text
- bacgUserProject :: Lens' BucketAccessControlsGet (Maybe Text)
- bacgEntity :: Lens' BucketAccessControlsGet Text
REST Resource
type BucketAccessControlsGetResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BucketAccessControl))))))) Source #
A resource alias for storage.bucketAccessControls.get
method which the
BucketAccessControlsGet
request conforms to.
Creating a Request
bucketAccessControlsGet Source #
Creates a value of BucketAccessControlsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BucketAccessControlsGet Source #
Returns the ACL entry for the specified entity on the specified bucket.
See: bucketAccessControlsGet
smart constructor.
Instances
Request Lenses
bacgBucket :: Lens' BucketAccessControlsGet Text Source #
Name of a bucket.
bacgUserProject :: Lens' BucketAccessControlsGet (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.
bacgEntity :: Lens' BucketAccessControlsGet Text Source #
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.