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

Contents

Description

Patches a default object ACL entry on the specified bucket.

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

Synopsis

REST Resource

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

A resource alias for storage.defaultObjectAccessControls.patch method which the DefaultObjectAccessControlsPatch request conforms to.

Creating a Request

defaultObjectAccessControlsPatch Source #

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

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

data DefaultObjectAccessControlsPatch Source #

Patches a default object ACL entry on the specified bucket.

See: defaultObjectAccessControlsPatch smart constructor.

Instances
Eq DefaultObjectAccessControlsPatch Source # 
Instance details

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

Data DefaultObjectAccessControlsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: DefaultObjectAccessControlsPatch -> Constr #

dataTypeOf :: DefaultObjectAccessControlsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DefaultObjectAccessControlsPatch Source # 
Instance details

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

Generic DefaultObjectAccessControlsPatch Source # 
Instance details

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

Associated Types

type Rep DefaultObjectAccessControlsPatch :: Type -> Type #

GoogleRequest DefaultObjectAccessControlsPatch Source # 
Instance details

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

type Rep DefaultObjectAccessControlsPatch Source # 
Instance details

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

type Rep DefaultObjectAccessControlsPatch = D1 (MetaData "DefaultObjectAccessControlsPatch" "Network.Google.Resource.Storage.DefaultObjectAccessControls.Patch" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "DefaultObjectAccessControlsPatch'" PrefixI True) ((S1 (MetaSel (Just "_doacpBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_doacpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectAccessControl)) :*: (S1 (MetaSel (Just "_doacpUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_doacpEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DefaultObjectAccessControlsPatch Source # 
Instance details

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

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

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

Request Lenses

doacpUserProject :: Lens' DefaultObjectAccessControlsPatch (Maybe Text) Source #

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

doacpEntity :: Lens' DefaultObjectAccessControlsPatch Text Source #

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