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.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 "userProject" 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 # 
Instance details

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

Data ObjectAccessControlsUpdate Source # 
Instance details

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

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 # 
Instance details

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

Generic ObjectAccessControlsUpdate Source # 
Instance details

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

Associated Types

type Rep ObjectAccessControlsUpdate :: Type -> Type #

GoogleRequest ObjectAccessControlsUpdate Source # 
Instance details

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

type Rep ObjectAccessControlsUpdate Source # 
Instance details

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

type Rep ObjectAccessControlsUpdate = D1 (MetaData "ObjectAccessControlsUpdate" "Network.Google.Resource.Storage.ObjectAccessControls.Update" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "ObjectAccessControlsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_oacuBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_oacuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectAccessControl) :*: S1 (MetaSel (Just "_oacuUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_oacuObject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_oacuEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oacuGeneration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))
type Scopes ObjectAccessControlsUpdate Source # 
Instance details

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

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

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

Request Lenses

oacuUserProject :: Lens' ObjectAccessControlsUpdate (Maybe Text) Source #

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

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