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 object.
See: Cloud Storage JSON API Reference for storage.objectAccessControls.get
.
Synopsis
- type ObjectAccessControlsGetResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (Capture "object" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "generation" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ObjectAccessControl))))))))))
- objectAccessControlsGet :: Text -> Text -> Text -> ObjectAccessControlsGet
- data ObjectAccessControlsGet
- oacgBucket :: Lens' ObjectAccessControlsGet Text
- oacgUserProject :: Lens' ObjectAccessControlsGet (Maybe Text)
- oacgObject :: Lens' ObjectAccessControlsGet Text
- oacgEntity :: Lens' ObjectAccessControlsGet Text
- oacgGeneration :: Lens' ObjectAccessControlsGet (Maybe Int64)
REST Resource
type ObjectAccessControlsGetResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (Capture "object" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "generation" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ObjectAccessControl)))))))))) Source #
A resource alias for storage.objectAccessControls.get
method which the
ObjectAccessControlsGet
request conforms to.
Creating a Request
objectAccessControlsGet Source #
Creates a value of ObjectAccessControlsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ObjectAccessControlsGet Source #
Returns the ACL entry for the specified entity on the specified object.
See: objectAccessControlsGet
smart constructor.
Instances
Request Lenses
oacgBucket :: Lens' ObjectAccessControlsGet Text Source #
Name of a bucket.
oacgUserProject :: Lens' ObjectAccessControlsGet (Maybe Text) Source #
The project to be billed for this request. Required for Requester Pays buckets.
oacgObject :: Lens' ObjectAccessControlsGet Text Source #
Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.
oacgEntity :: Lens' ObjectAccessControlsGet Text Source #
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
oacgGeneration :: Lens' ObjectAccessControlsGet (Maybe Int64) Source #
If present, selects a specific revision of this object (as opposed to the latest version, the default).