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 object.
See: Cloud Storage JSON API Reference for storage.objectAccessControls.list
.
Synopsis
- type ObjectAccessControlsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (Capture "object" Text :> ("acl" :> (QueryParam "userProject" Text :> (QueryParam "generation" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ObjectAccessControls)))))))))
- objectAccessControlsList :: Text -> Text -> ObjectAccessControlsList
- data ObjectAccessControlsList
- oaclBucket :: Lens' ObjectAccessControlsList Text
- oaclUserProject :: Lens' ObjectAccessControlsList (Maybe Text)
- oaclObject :: Lens' ObjectAccessControlsList Text
- oaclGeneration :: Lens' ObjectAccessControlsList (Maybe Int64)
REST Resource
type ObjectAccessControlsListResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (Capture "object" Text :> ("acl" :> (QueryParam "userProject" Text :> (QueryParam "generation" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ObjectAccessControls))))))))) Source #
A resource alias for storage.objectAccessControls.list
method which the
ObjectAccessControlsList
request conforms to.
Creating a Request
objectAccessControlsList Source #
Creates a value of ObjectAccessControlsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ObjectAccessControlsList Source #
Retrieves ACL entries on the specified object.
See: objectAccessControlsList
smart constructor.
Instances
Request Lenses
oaclBucket :: Lens' ObjectAccessControlsList Text Source #
Name of a bucket.
oaclUserProject :: Lens' ObjectAccessControlsList (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.
oaclObject :: Lens' ObjectAccessControlsList Text Source #
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
oaclGeneration :: Lens' ObjectAccessControlsList (Maybe Int64) Source #
If present, selects a specific revision of this object (as opposed to the latest version, the default).