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

Copyright(c) 2015-2016 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 "userProject" 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:

data BucketAccessControlsUpdate Source #

Updates an ACL entry on the specified bucket.

See: bucketAccessControlsUpdate smart constructor.

Instances
Eq BucketAccessControlsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.BucketAccessControls.Update

Data BucketAccessControlsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.BucketAccessControls.Update

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BucketAccessControlsUpdate -> c BucketAccessControlsUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BucketAccessControlsUpdate #

toConstr :: BucketAccessControlsUpdate -> Constr #

dataTypeOf :: BucketAccessControlsUpdate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BucketAccessControlsUpdate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BucketAccessControlsUpdate) #

gmapT :: (forall b. Data b => b -> b) -> BucketAccessControlsUpdate -> BucketAccessControlsUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BucketAccessControlsUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BucketAccessControlsUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> BucketAccessControlsUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BucketAccessControlsUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BucketAccessControlsUpdate -> m BucketAccessControlsUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BucketAccessControlsUpdate -> m BucketAccessControlsUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BucketAccessControlsUpdate -> m BucketAccessControlsUpdate #

Show BucketAccessControlsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.BucketAccessControls.Update

Generic BucketAccessControlsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.BucketAccessControls.Update

Associated Types

type Rep BucketAccessControlsUpdate :: Type -> Type #

GoogleRequest BucketAccessControlsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.BucketAccessControls.Update

type Rep BucketAccessControlsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.BucketAccessControls.Update

type Rep BucketAccessControlsUpdate = D1 (MetaData "BucketAccessControlsUpdate" "Network.Google.Resource.Storage.BucketAccessControls.Update" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "BucketAccessControlsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_bacuBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bacuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketAccessControl)) :*: (S1 (MetaSel (Just "_bacuUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bacuEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes BucketAccessControlsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.BucketAccessControls.Update

type Scopes BucketAccessControlsUpdate = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/devstorage.full_control" ': ([] :: [Symbol]))
type Rs BucketAccessControlsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Storage.BucketAccessControls.Update

Request Lenses

bacuUserProject :: Lens' BucketAccessControlsUpdate (Maybe Text) Source #

The project to be billed for this request. Required for Requester Pays buckets.

bacuEntity :: Lens' BucketAccessControlsUpdate Text Source #

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