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

Contents

Description

Returns the default object ACL entry for the specified entity on the specified bucket.

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

Synopsis

REST Resource

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

A resource alias for storage.defaultObjectAccessControls.get method which the DefaultObjectAccessControlsGet request conforms to.

Creating a Request

defaultObjectAccessControlsGet Source #

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

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

data DefaultObjectAccessControlsGet Source #

Returns the default object ACL entry for the specified entity on the specified bucket.

See: defaultObjectAccessControlsGet smart constructor.

Instances
Eq DefaultObjectAccessControlsGet Source # 
Instance details

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

Data DefaultObjectAccessControlsGet Source # 
Instance details

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

Methods

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

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

toConstr :: DefaultObjectAccessControlsGet -> Constr #

dataTypeOf :: DefaultObjectAccessControlsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DefaultObjectAccessControlsGet Source # 
Instance details

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

Generic DefaultObjectAccessControlsGet Source # 
Instance details

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

Associated Types

type Rep DefaultObjectAccessControlsGet :: Type -> Type #

GoogleRequest DefaultObjectAccessControlsGet Source # 
Instance details

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

type Rep DefaultObjectAccessControlsGet Source # 
Instance details

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

type Rep DefaultObjectAccessControlsGet = D1 (MetaData "DefaultObjectAccessControlsGet" "Network.Google.Resource.Storage.DefaultObjectAccessControls.Get" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "DefaultObjectAccessControlsGet'" PrefixI True) (S1 (MetaSel (Just "_doacgBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_doacgUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_doacgEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DefaultObjectAccessControlsGet Source # 
Instance details

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

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

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

Request Lenses

doacgUserProject :: Lens' DefaultObjectAccessControlsGet (Maybe Text) Source #

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

doacgEntity :: Lens' DefaultObjectAccessControlsGet Text Source #

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