gogol-compute-0.5.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.NodeTemplates.SetIAMPolicy

Contents

Description

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

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

Synopsis

REST Resource

type NodeTemplatesSetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("nodeTemplates" :> (Capture "resource" Text :> ("setIamPolicy" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegionSetPolicyRequest :> Post '[JSON] Policy)))))))))) Source #

A resource alias for compute.nodeTemplates.setIamPolicy method which the NodeTemplatesSetIAMPolicy request conforms to.

Creating a Request

nodeTemplatesSetIAMPolicy Source #

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

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

data NodeTemplatesSetIAMPolicy Source #

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

See: nodeTemplatesSetIAMPolicy smart constructor.

Instances
Eq NodeTemplatesSetIAMPolicy Source # 
Instance details

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

Data NodeTemplatesSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: NodeTemplatesSetIAMPolicy -> Constr #

dataTypeOf :: NodeTemplatesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NodeTemplatesSetIAMPolicy Source # 
Instance details

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

Generic NodeTemplatesSetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep NodeTemplatesSetIAMPolicy :: Type -> Type #

GoogleRequest NodeTemplatesSetIAMPolicy Source # 
Instance details

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

type Rep NodeTemplatesSetIAMPolicy Source # 
Instance details

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

type Rep NodeTemplatesSetIAMPolicy = D1 (MetaData "NodeTemplatesSetIAMPolicy" "Network.Google.Resource.Compute.NodeTemplates.SetIAMPolicy" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "NodeTemplatesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_ntsipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ntsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RegionSetPolicyRequest)) :*: (S1 (MetaSel (Just "_ntsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ntsipRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes NodeTemplatesSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

ntsipProject :: Lens' NodeTemplatesSetIAMPolicy Text Source #

Project ID for this request.

ntsipResource :: Lens' NodeTemplatesSetIAMPolicy Text Source #

Name or id of the resource for this request.

ntsipRegion :: Lens' NodeTemplatesSetIAMPolicy Text Source #

The name of the region for this request.