gogol-storage-0.0.1: Google Cloud Storage JSON SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Storage.BucketAccessControls.Patch

Contents

Description

Updates an ACL entry on the specified bucket. This method supports patch semantics.

See: Cloud Storage JSON API Reference for storage.bucketAccessControls.patch.

Synopsis

REST Resource

type BucketAccessControlsPatchResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` BucketAccessControl :> Patch `[JSON]` BucketAccessControl))))))) Source

A resource alias for storage.bucketAccessControls.patch method which the BucketAccessControlsPatch request conforms to.

Creating a Request

bucketAccessControlsPatch Source

Creates a value of BucketAccessControlsPatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

bacpEntity :: Lens' BucketAccessControlsPatch Text Source

The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.