gogol-compute-0.4.0: Google Compute Engine 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.Compute.Images.GetIAMPolicy

Contents

Description

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

See: Compute Engine API Reference for compute.images.getIamPolicy.

Synopsis

REST Resource

type ImagesGetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("images" :> (Capture "resource" Text :> ("getIamPolicy" :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy)))))))) Source #

A resource alias for compute.images.getIamPolicy method which the ImagesGetIAMPolicy request conforms to.

Creating a Request

imagesGetIAMPolicy Source #

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

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

data ImagesGetIAMPolicy Source #

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

See: imagesGetIAMPolicy smart constructor.

Instances
Eq ImagesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Images.GetIAMPolicy

Data ImagesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Images.GetIAMPolicy

Methods

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

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

toConstr :: ImagesGetIAMPolicy -> Constr #

dataTypeOf :: ImagesGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImagesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Images.GetIAMPolicy

Generic ImagesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Images.GetIAMPolicy

Associated Types

type Rep ImagesGetIAMPolicy :: Type -> Type #

GoogleRequest ImagesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Images.GetIAMPolicy

Associated Types

type Rs ImagesGetIAMPolicy :: Type #

type Scopes ImagesGetIAMPolicy :: [Symbol] #

type Rep ImagesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Images.GetIAMPolicy

type Rep ImagesGetIAMPolicy = D1 (MetaData "ImagesGetIAMPolicy" "Network.Google.Resource.Compute.Images.GetIAMPolicy" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "ImagesGetIAMPolicy'" PrefixI True) (S1 (MetaSel (Just "_igipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_igipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ImagesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Images.GetIAMPolicy

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

Defined in Network.Google.Resource.Compute.Images.GetIAMPolicy

Request Lenses

igipProject :: Lens' ImagesGetIAMPolicy Text Source #

Project ID for this request.

igipResource :: Lens' ImagesGetIAMPolicy Text Source #

Name or id of the resource for this request.