gogol-storage-0.1.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.ObjectAccessControls.Update

Contents

Description

Updates an ACL entry on the specified object.

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

Synopsis

REST Resource

type ObjectAccessControlsUpdateResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("o" :> (Capture "object" Text :> ("acl" :> (Capture "entity" Text :> (QueryParam "generation" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ObjectAccessControl :> Put '[JSON] ObjectAccessControl)))))))))) Source #

A resource alias for storage.objectAccessControls.update method which the ObjectAccessControlsUpdate request conforms to.

Creating a Request

objectAccessControlsUpdate Source #

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

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

data ObjectAccessControlsUpdate Source #

Updates an ACL entry on the specified object.

See: objectAccessControlsUpdate smart constructor.

Instances

Eq ObjectAccessControlsUpdate Source # 
Data ObjectAccessControlsUpdate Source # 

Methods

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

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

toConstr :: ObjectAccessControlsUpdate -> Constr #

dataTypeOf :: ObjectAccessControlsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ObjectAccessControlsUpdate Source # 
Generic ObjectAccessControlsUpdate Source # 
GoogleRequest ObjectAccessControlsUpdate Source # 
type Rep ObjectAccessControlsUpdate Source # 
type Rep ObjectAccessControlsUpdate = D1 (MetaData "ObjectAccessControlsUpdate" "Network.Google.Resource.Storage.ObjectAccessControls.Update" "gogol-storage-0.1.0-L0T4EMtUjHX8jDbB9PaYdJ" False) (C1 (MetaCons "ObjectAccessControlsUpdate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_oacuBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_oacuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectAccessControl))) ((:*:) (S1 (MetaSel (Just Symbol "_oacuObject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_oacuEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_oacuGeneration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))))
type Scopes ObjectAccessControlsUpdate Source # 
type Scopes ObjectAccessControlsUpdate = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/devstorage.full_control" ([] Symbol))
type Rs ObjectAccessControlsUpdate Source # 

Request Lenses

oacuObject :: Lens' ObjectAccessControlsUpdate Text Source #

Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts.

oacuEntity :: Lens' ObjectAccessControlsUpdate Text Source #

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

oacuGeneration :: Lens' ObjectAccessControlsUpdate (Maybe Int64) Source #

If present, selects a specific revision of this object (as opposed to the latest version, the default).