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.Objects.GetIAMPolicy

Contents

Description

Returns an IAM policy for the specified object.

See: Cloud Storage JSON API Reference for storage.objects.getIamPolicy.

Synopsis

REST Resource

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

A resource alias for storage.objects.getIamPolicy method which the ObjectsGetIAMPolicy request conforms to.

Creating a Request

objectsGetIAMPolicy Source #

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

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

data ObjectsGetIAMPolicy Source #

Returns an IAM policy for the specified object.

See: objectsGetIAMPolicy smart constructor.

Instances
Eq ObjectsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.GetIAMPolicy

Data ObjectsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.GetIAMPolicy

Methods

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

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

toConstr :: ObjectsGetIAMPolicy -> Constr #

dataTypeOf :: ObjectsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ObjectsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.GetIAMPolicy

Generic ObjectsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.GetIAMPolicy

Associated Types

type Rep ObjectsGetIAMPolicy :: Type -> Type #

GoogleRequest ObjectsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.GetIAMPolicy

Associated Types

type Rs ObjectsGetIAMPolicy :: Type #

type Scopes ObjectsGetIAMPolicy :: [Symbol] #

type Rep ObjectsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.GetIAMPolicy

type Rep ObjectsGetIAMPolicy = D1 (MetaData "ObjectsGetIAMPolicy" "Network.Google.Resource.Storage.Objects.GetIAMPolicy" "gogol-storage-0.4.0-F1QXZopXJqf9Y2QJKwfuR3" False) (C1 (MetaCons "ObjectsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_ogipBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ogipUserProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ogipObject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ogipGeneration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))
type Scopes ObjectsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Storage.Objects.GetIAMPolicy

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

Defined in Network.Google.Resource.Storage.Objects.GetIAMPolicy

Request Lenses

ogipBucket :: Lens' ObjectsGetIAMPolicy Text Source #

Name of the bucket in which the object resides.

ogipUserProject :: Lens' ObjectsGetIAMPolicy (Maybe Text) Source #

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

ogipObject :: Lens' ObjectsGetIAMPolicy Text Source #

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

ogipGeneration :: Lens' ObjectsGetIAMPolicy (Maybe Int64) Source #

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