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 |
Network.Google.Resource.Storage.DefaultObjectAccessControls.Patch
Description
Updates a default object ACL entry on the specified bucket. This method supports patch semantics.
See: Cloud Storage JSON API Reference for storage.defaultObjectAccessControls.patch
.
- type DefaultObjectAccessControlsPatchResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (Capture "entity" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ObjectAccessControl :> Patch '[JSON] ObjectAccessControl)))))))
- defaultObjectAccessControlsPatch :: Text -> ObjectAccessControl -> Text -> DefaultObjectAccessControlsPatch
- data DefaultObjectAccessControlsPatch
- doacpBucket :: Lens' DefaultObjectAccessControlsPatch Text
- doacpPayload :: Lens' DefaultObjectAccessControlsPatch ObjectAccessControl
- doacpEntity :: Lens' DefaultObjectAccessControlsPatch Text
REST Resource
type DefaultObjectAccessControlsPatchResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (Capture "entity" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ObjectAccessControl :> Patch '[JSON] ObjectAccessControl))))))) Source #
A resource alias for storage.defaultObjectAccessControls.patch
method which the
DefaultObjectAccessControlsPatch
request conforms to.
Creating a Request
defaultObjectAccessControlsPatch Source #
Arguments
:: Text | |
-> ObjectAccessControl | |
-> Text | |
-> DefaultObjectAccessControlsPatch |
Creates a value of DefaultObjectAccessControlsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DefaultObjectAccessControlsPatch Source #
Updates a default object ACL entry on the specified bucket. This method supports patch semantics.
See: defaultObjectAccessControlsPatch
smart constructor.
Instances
Request Lenses
doacpBucket :: Lens' DefaultObjectAccessControlsPatch Text Source #
Name of a bucket.
doacpPayload :: Lens' DefaultObjectAccessControlsPatch ObjectAccessControl Source #
Multipart request metadata.
doacpEntity :: Lens' DefaultObjectAccessControlsPatch Text Source #
The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.