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

Contents

Description

Patches an ACL entry on the specified bucket.

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

Synopsis

REST Resource

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

A resource alias for storage.bucketAccessControls.patch method which the BucketAccessControlsPatch request conforms to.

Creating a Request

bucketAccessControlsPatch Source #

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

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

data BucketAccessControlsPatch Source #

Patches an ACL entry on the specified bucket.

See: bucketAccessControlsPatch smart constructor.

Instances
Eq BucketAccessControlsPatch Source # 
Instance details

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

Data BucketAccessControlsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: BucketAccessControlsPatch -> Constr #

dataTypeOf :: BucketAccessControlsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BucketAccessControlsPatch Source # 
Instance details

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

Generic BucketAccessControlsPatch Source # 
Instance details

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

Associated Types

type Rep BucketAccessControlsPatch :: Type -> Type #

GoogleRequest BucketAccessControlsPatch Source # 
Instance details

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

type Rep BucketAccessControlsPatch Source # 
Instance details

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

type Rep BucketAccessControlsPatch = D1 (MetaData "BucketAccessControlsPatch" "Network.Google.Resource.Storage.BucketAccessControls.Patch" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "BucketAccessControlsPatch'" PrefixI True) ((S1 (MetaSel (Just "_bacpBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bacpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketAccessControl)) :*: (S1 (MetaSel (Just "_bacpUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bacpEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes BucketAccessControlsPatch Source # 
Instance details

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

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

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

Request Lenses

bacpUserProject :: Lens' BucketAccessControlsPatch (Maybe Text) Source #

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

bacpEntity :: Lens' BucketAccessControlsPatch Text Source #

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