gogol-deploymentmanager-0.1.1: 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] Policy :> 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 # 
Data DeploymentsSetIAMPolicy Source # 

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 # 
Generic DeploymentsSetIAMPolicy Source # 
GoogleRequest DeploymentsSetIAMPolicy Source # 
type Rep DeploymentsSetIAMPolicy Source # 
type Rep DeploymentsSetIAMPolicy = D1 (MetaData "DeploymentsSetIAMPolicy" "Network.Google.Resource.DeploymentManager.Deployments.SetIAMPolicy" "gogol-deploymentmanager-0.1.1-HAsZUzUH108DFFrHI374Ot" False) (C1 (MetaCons "DeploymentsSetIAMPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_dsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Policy)) (S1 (MetaSel (Just Symbol "_dsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes DeploymentsSetIAMPolicy Source # 
type Scopes DeploymentsSetIAMPolicy = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/ndev.cloudman" ([] Symbol))
type Rs DeploymentsSetIAMPolicy Source # 

Request Lenses

dsipProject :: Lens' DeploymentsSetIAMPolicy Text Source #

Project ID for this request.

dsipPayload :: Lens' DeploymentsSetIAMPolicy Policy Source #

Multipart request metadata.

dsipResource :: Lens' DeploymentsSetIAMPolicy Text Source #

Name of the resource for this request.