gogol-storage-0.2.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.Patch

Contents

Description

Updates an ACL entry on the specified object. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for storage.objectAccessControls.patch method which the ObjectAccessControlsPatch request conforms to.

Creating a Request

objectAccessControlsPatch Source #

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

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

data ObjectAccessControlsPatch Source #

Updates an ACL entry on the specified object. This method supports patch semantics.

See: objectAccessControlsPatch smart constructor.

Instances

Eq ObjectAccessControlsPatch Source # 
Data ObjectAccessControlsPatch Source # 

Methods

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

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

toConstr :: ObjectAccessControlsPatch -> Constr #

dataTypeOf :: ObjectAccessControlsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ObjectAccessControlsPatch Source # 
Generic ObjectAccessControlsPatch Source # 
GoogleRequest ObjectAccessControlsPatch Source # 
type Rep ObjectAccessControlsPatch Source # 
type Rep ObjectAccessControlsPatch = D1 (MetaData "ObjectAccessControlsPatch" "Network.Google.Resource.Storage.ObjectAccessControls.Patch" "gogol-storage-0.2.0-EBNmcZSwfSl5NhgJENq05O" False) (C1 (MetaCons "ObjectAccessControlsPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_oacpBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_oacpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectAccessControl))) ((:*:) (S1 (MetaSel (Just Symbol "_oacpObject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_oacpEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_oacpGeneration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))))
type Scopes ObjectAccessControlsPatch Source # 
type Scopes ObjectAccessControlsPatch = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/devstorage.full_control" ([] Symbol))
type Rs ObjectAccessControlsPatch Source # 

Request Lenses

oacpObject :: Lens' ObjectAccessControlsPatch Text Source #

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

oacpEntity :: Lens' ObjectAccessControlsPatch Text Source #

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

oacpGeneration :: Lens' ObjectAccessControlsPatch (Maybe Int64) Source #

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