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