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

Contents

Description

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

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

Synopsis

REST Resource

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

A resource alias for storage.objectAccessControls.get method which the ObjectAccessControlsGet request conforms to.

Creating a Request

objectAccessControlsGet Source #

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

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

data ObjectAccessControlsGet Source #

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

See: objectAccessControlsGet smart constructor.

Instances
Eq ObjectAccessControlsGet Source # 
Instance details

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

Data ObjectAccessControlsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ObjectAccessControlsGet -> Constr #

dataTypeOf :: ObjectAccessControlsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ObjectAccessControlsGet Source # 
Instance details

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

Generic ObjectAccessControlsGet Source # 
Instance details

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

Associated Types

type Rep ObjectAccessControlsGet :: Type -> Type #

GoogleRequest ObjectAccessControlsGet Source # 
Instance details

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

type Rep ObjectAccessControlsGet Source # 
Instance details

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

type Rep ObjectAccessControlsGet = D1 (MetaData "ObjectAccessControlsGet" "Network.Google.Resource.Storage.ObjectAccessControls.Get" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "ObjectAccessControlsGet'" PrefixI True) ((S1 (MetaSel (Just "_oacgBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oacgUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_oacgObject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_oacgEntity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oacgGeneration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))
type Scopes ObjectAccessControlsGet Source # 
Instance details

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

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

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

Request Lenses

oacgUserProject :: Lens' ObjectAccessControlsGet (Maybe Text) Source #

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

oacgObject :: Lens' ObjectAccessControlsGet Text Source #

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

oacgEntity :: Lens' ObjectAccessControlsGet Text Source #

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

oacgGeneration :: Lens' ObjectAccessControlsGet (Maybe Int64) Source #

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