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

Contents

Description

Creates a new default object ACL entry on the specified bucket.

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

Synopsis

REST Resource

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

A resource alias for storage.defaultObjectAccessControls.insert method which the DefaultObjectAccessControlsInsert request conforms to.

Creating a Request

defaultObjectAccessControlsInsert Source #

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

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

data DefaultObjectAccessControlsInsert Source #

Creates a new default object ACL entry on the specified bucket.

See: defaultObjectAccessControlsInsert smart constructor.

Instances
Eq DefaultObjectAccessControlsInsert Source # 
Instance details

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

Data DefaultObjectAccessControlsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: DefaultObjectAccessControlsInsert -> Constr #

dataTypeOf :: DefaultObjectAccessControlsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DefaultObjectAccessControlsInsert Source # 
Instance details

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

Generic DefaultObjectAccessControlsInsert Source # 
Instance details

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

Associated Types

type Rep DefaultObjectAccessControlsInsert :: Type -> Type #

GoogleRequest DefaultObjectAccessControlsInsert Source # 
Instance details

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

type Rep DefaultObjectAccessControlsInsert Source # 
Instance details

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

type Rep DefaultObjectAccessControlsInsert = D1 (MetaData "DefaultObjectAccessControlsInsert" "Network.Google.Resource.Storage.DefaultObjectAccessControls.Insert" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "DefaultObjectAccessControlsInsert'" PrefixI True) (S1 (MetaSel (Just "_doaciBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_doaciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectAccessControl) :*: S1 (MetaSel (Just "_doaciUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes DefaultObjectAccessControlsInsert Source # 
Instance details

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

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

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

Request Lenses

doaciUserProject :: Lens' DefaultObjectAccessControlsInsert (Maybe Text) Source #

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