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

Contents

Description

Creates a new ACL entry on the specified bucket.

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

Synopsis

REST Resource

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

A resource alias for storage.bucketAccessControls.insert method which the BucketAccessControlsInsert request conforms to.

Creating a Request

bucketAccessControlsInsert Source #

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

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

data BucketAccessControlsInsert Source #

Creates a new ACL entry on the specified bucket.

See: bucketAccessControlsInsert smart constructor.

Instances

Eq BucketAccessControlsInsert Source # 
Data BucketAccessControlsInsert Source # 

Methods

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

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

toConstr :: BucketAccessControlsInsert -> Constr #

dataTypeOf :: BucketAccessControlsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BucketAccessControlsInsert Source # 
Generic BucketAccessControlsInsert Source # 
GoogleRequest BucketAccessControlsInsert Source # 
type Rep BucketAccessControlsInsert Source # 
type Rep BucketAccessControlsInsert = D1 (MetaData "BucketAccessControlsInsert" "Network.Google.Resource.Storage.BucketAccessControls.Insert" "gogol-storage-0.2.0-EBNmcZSwfSl5NhgJENq05O" False) (C1 (MetaCons "BucketAccessControlsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_baciBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_baciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketAccessControl))))
type Scopes BucketAccessControlsInsert Source # 
type Scopes BucketAccessControlsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/devstorage.full_control" ([] Symbol))
type Rs BucketAccessControlsInsert Source # 

Request Lenses