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

Contents

Description

Updates a default object ACL entry on the specified bucket.

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

Synopsis

REST Resource

type DefaultObjectAccessControlsUpdateResource = "storage" :> ("v1" :> ("b" :> (Capture "bucket" Text :> ("defaultObjectAcl" :> (Capture "entity" Text :> (QueryParam "userProject" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ObjectAccessControl :> Put '[JSON] ObjectAccessControl)))))))) Source #

A resource alias for storage.defaultObjectAccessControls.update method which the DefaultObjectAccessControlsUpdate request conforms to.

Creating a Request

defaultObjectAccessControlsUpdate Source #

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

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

data DefaultObjectAccessControlsUpdate Source #

Updates a default object ACL entry on the specified bucket.

See: defaultObjectAccessControlsUpdate smart constructor.

Instances
Eq DefaultObjectAccessControlsUpdate Source # 
Instance details

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

Data DefaultObjectAccessControlsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: DefaultObjectAccessControlsUpdate -> Constr #

dataTypeOf :: DefaultObjectAccessControlsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DefaultObjectAccessControlsUpdate Source # 
Instance details

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

Generic DefaultObjectAccessControlsUpdate Source # 
Instance details

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

Associated Types

type Rep DefaultObjectAccessControlsUpdate :: Type -> Type #

GoogleRequest DefaultObjectAccessControlsUpdate Source # 
Instance details

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

type Rep DefaultObjectAccessControlsUpdate Source # 
Instance details

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

type Rep DefaultObjectAccessControlsUpdate = D1 (MetaData "DefaultObjectAccessControlsUpdate" "Network.Google.Resource.Storage.DefaultObjectAccessControls.Update" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "DefaultObjectAccessControlsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_doacuBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_doacuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectAccessControl)) :*: (S1 (MetaSel (Just "_doacuUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_doacuEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DefaultObjectAccessControlsUpdate Source # 
Instance details

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

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

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

Request Lenses

doacuUserProject :: Lens' DefaultObjectAccessControlsUpdate (Maybe Text) Source #

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

doacuEntity :: Lens' DefaultObjectAccessControlsUpdate Text Source #

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