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.Update

Contents

Description

Updates an ACL entry on the specified bucket.

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

Synopsis

REST Resource

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

A resource alias for storage.bucketAccessControls.update method which the BucketAccessControlsUpdate request conforms to.

Creating a Request

bucketAccessControlsUpdate Source

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

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

Request Lenses

bacuEntity :: Lens' BucketAccessControlsUpdate Text Source

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