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 |
Retrieves ACL entries on the specified bucket.
See: Cloud Storage JSON API Reference for storage.bucketAccessControls.list
.
Synopsis
- type BucketAccessControlsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BucketAccessControls))))))
- bucketAccessControlsList :: Text -> BucketAccessControlsList
- data BucketAccessControlsList
- baclBucket :: Lens' BucketAccessControlsList Text
- baclUserProject :: Lens' BucketAccessControlsList (Maybe Text)
REST Resource
type BucketAccessControlsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BucketAccessControls)))))) Source #
A resource alias for storage.bucketAccessControls.list
method which the
BucketAccessControlsList
request conforms to.
Creating a Request
bucketAccessControlsList Source #
Creates a value of BucketAccessControlsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BucketAccessControlsList Source #
Retrieves ACL entries on the specified bucket.
See: bucketAccessControlsList
smart constructor.
Instances
Request Lenses
baclBucket :: Lens' BucketAccessControlsList Text Source #
Name of a bucket.
baclUserProject :: Lens' BucketAccessControlsList (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.