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

Contents

Description

Sets the access control policy on the specified resource. Replaces any existing policy.

See: Compute Engine API Reference for compute.instanceTemplates.setIamPolicy.

Synopsis

REST Resource

type InstanceTemplatesSetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("instanceTemplates" :> (Capture "resource" Text :> ("setIamPolicy" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GlobalSetPolicyRequest :> Post '[JSON] Policy))))))))) Source #

A resource alias for compute.instanceTemplates.setIamPolicy method which the InstanceTemplatesSetIAMPolicy request conforms to.

Creating a Request

instanceTemplatesSetIAMPolicy Source #

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

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

data InstanceTemplatesSetIAMPolicy Source #

Sets the access control policy on the specified resource. Replaces any existing policy.

See: instanceTemplatesSetIAMPolicy smart constructor.

Instances
Eq InstanceTemplatesSetIAMPolicy Source # 
Instance details

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

Data InstanceTemplatesSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: InstanceTemplatesSetIAMPolicy -> Constr #

dataTypeOf :: InstanceTemplatesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceTemplatesSetIAMPolicy Source # 
Instance details

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

Generic InstanceTemplatesSetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep InstanceTemplatesSetIAMPolicy :: Type -> Type #

GoogleRequest InstanceTemplatesSetIAMPolicy Source # 
Instance details

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

type Rep InstanceTemplatesSetIAMPolicy Source # 
Instance details

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

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

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

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

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

Request Lenses

itsipResource :: Lens' InstanceTemplatesSetIAMPolicy Text Source #

Name or id of the resource for this request.