Copyright | (c) 2015 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 |
Creates a new default object ACL entry on the specified bucket.
See: Cloud Storage JSON API Reference for storage.defaultObjectAccessControls.insert
.
- type DefaultObjectAccessControlsInsertResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ObjectAccessControl :> Post `[JSON]` ObjectAccessControl))))))
- defaultObjectAccessControlsInsert :: Text -> ObjectAccessControl -> DefaultObjectAccessControlsInsert
- data DefaultObjectAccessControlsInsert
- doaciBucket :: Lens' DefaultObjectAccessControlsInsert Text
- doaciPayload :: Lens' DefaultObjectAccessControlsInsert ObjectAccessControl
REST Resource
type DefaultObjectAccessControlsInsertResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ObjectAccessControl :> Post `[JSON]` ObjectAccessControl)))))) Source
A resource alias for storage.defaultObjectAccessControls.insert
method which the
DefaultObjectAccessControlsInsert
request conforms to.
Creating a Request
defaultObjectAccessControlsInsert Source
Creates a value of DefaultObjectAccessControlsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DefaultObjectAccessControlsInsert Source
Creates a new default object ACL entry on the specified bucket.
See: defaultObjectAccessControlsInsert
smart constructor.
Request Lenses
doaciBucket :: Lens' DefaultObjectAccessControlsInsert Text Source
Name of a bucket.
doaciPayload :: Lens' DefaultObjectAccessControlsInsert ObjectAccessControl Source
Multipart request metadata.