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.InstanceTemplates.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.instanceTemplates.getIamPolicy.

Synopsis

REST Resource

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

A resource alias for compute.instanceTemplates.getIamPolicy method which the InstanceTemplatesGetIAMPolicy request conforms to.

Creating a Request

instanceTemplatesGetIAMPolicy Source #

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

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

data InstanceTemplatesGetIAMPolicy Source #

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

See: instanceTemplatesGetIAMPolicy smart constructor.

Instances
Eq InstanceTemplatesGetIAMPolicy Source # 
Instance details

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

Data InstanceTemplatesGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: InstanceTemplatesGetIAMPolicy -> Constr #

dataTypeOf :: InstanceTemplatesGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceTemplatesGetIAMPolicy Source # 
Instance details

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

Generic InstanceTemplatesGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep InstanceTemplatesGetIAMPolicy :: Type -> Type #

GoogleRequest InstanceTemplatesGetIAMPolicy Source # 
Instance details

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

type Rep InstanceTemplatesGetIAMPolicy Source # 
Instance details

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

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

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

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

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

Request Lenses

itgipResource :: Lens' InstanceTemplatesGetIAMPolicy Text Source #

Name or id of the resource for this request.