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 default object ACL entries on the specified bucket.
See: Cloud Storage JSON API Reference for storage.defaultObjectAccessControls.list
.
Synopsis
- type DefaultObjectAccessControlsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (QueryParam "ifMetagenerationMatch" (Textual Int64) :> (QueryParam "userProject" Text :> (QueryParam "ifMetagenerationNotMatch" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ObjectAccessControls))))))))
- defaultObjectAccessControlsList :: Text -> DefaultObjectAccessControlsList
- data DefaultObjectAccessControlsList
- doaclIfMetagenerationMatch :: Lens' DefaultObjectAccessControlsList (Maybe Int64)
- doaclBucket :: Lens' DefaultObjectAccessControlsList Text
- doaclUserProject :: Lens' DefaultObjectAccessControlsList (Maybe Text)
- doaclIfMetagenerationNotMatch :: Lens' DefaultObjectAccessControlsList (Maybe Int64)
REST Resource
type DefaultObjectAccessControlsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (QueryParam "ifMetagenerationMatch" (Textual Int64) :> (QueryParam "userProject" Text :> (QueryParam "ifMetagenerationNotMatch" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ObjectAccessControls)))))))) Source #
A resource alias for storage.defaultObjectAccessControls.list
method which the
DefaultObjectAccessControlsList
request conforms to.
Creating a Request
defaultObjectAccessControlsList Source #
Creates a value of DefaultObjectAccessControlsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DefaultObjectAccessControlsList Source #
Retrieves default object ACL entries on the specified bucket.
See: defaultObjectAccessControlsList
smart constructor.
Instances
Request Lenses
doaclIfMetagenerationMatch :: Lens' DefaultObjectAccessControlsList (Maybe Int64) Source #
If present, only return default ACL listing if the bucket's current metageneration matches this value.
doaclBucket :: Lens' DefaultObjectAccessControlsList Text Source #
Name of a bucket.
doaclUserProject :: Lens' DefaultObjectAccessControlsList (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.
doaclIfMetagenerationNotMatch :: Lens' DefaultObjectAccessControlsList (Maybe Int64) Source #
If present, only return default ACL listing if the bucket's current metageneration does not match the given value.