gogol-deploymentmanager-0.4.0: Google Cloud Deployment Manager 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.DeploymentManager.Deployments.SetIAMPolicy

Contents

Description

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

See: Google Cloud Deployment Manager API Reference for deploymentmanager.deployments.setIamPolicy.

Synopsis

REST Resource

type DeploymentsSetIAMPolicyResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "resource" Text :> ("setIamPolicy" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GlobalSetPolicyRequest :> Post '[JSON] Policy))))))))) Source #

A resource alias for deploymentmanager.deployments.setIamPolicy method which the DeploymentsSetIAMPolicy request conforms to.

Creating a Request

deploymentsSetIAMPolicy Source #

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

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

data DeploymentsSetIAMPolicy Source #

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

See: deploymentsSetIAMPolicy smart constructor.

Instances
Eq DeploymentsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy

Data DeploymentsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy

Methods

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

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

toConstr :: DeploymentsSetIAMPolicy -> Constr #

dataTypeOf :: DeploymentsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeploymentsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy

Generic DeploymentsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy

Associated Types

type Rep DeploymentsSetIAMPolicy :: Type -> Type #

GoogleRequest DeploymentsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy

type Rep DeploymentsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy

type Rep DeploymentsSetIAMPolicy = D1 (MetaData "DeploymentsSetIAMPolicy" "Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy" "gogol-deploymentmanager-0.4.0-1FvxHucO1CjAgqyDzotDSh" False) (C1 (MetaCons "DeploymentsSetIAMPolicy'" PrefixI True) (S1 (MetaSel (Just "_dsipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_dsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GlobalSetPolicyRequest) :*: S1 (MetaSel (Just "_dsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DeploymentsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy

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

Defined in Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy

Request Lenses

dsipProject :: Lens' DeploymentsSetIAMPolicy Text Source #

Project ID for this request.

dsipResource :: Lens' DeploymentsSetIAMPolicy Text Source #

Name or id of the resource for this request.