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

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

type DeploymentsTestIAMPermissionsResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "resource" Text :> ("testIamPermissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestPermissionsRequest :> Post '[JSON] TestPermissionsResponse))))))))) Source #

A resource alias for deploymentmanager.deployments.testIamPermissions method which the DeploymentsTestIAMPermissions request conforms to.

Creating a Request

deploymentsTestIAMPermissions Source #

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

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

data DeploymentsTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: deploymentsTestIAMPermissions smart constructor.

Instances
Eq DeploymentsTestIAMPermissions Source # 
Instance details

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

Data DeploymentsTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: DeploymentsTestIAMPermissions -> Constr #

dataTypeOf :: DeploymentsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeploymentsTestIAMPermissions Source # 
Instance details

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

Generic DeploymentsTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep DeploymentsTestIAMPermissions :: Type -> Type #

GoogleRequest DeploymentsTestIAMPermissions Source # 
Instance details

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

type Rep DeploymentsTestIAMPermissions Source # 
Instance details

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

type Rep DeploymentsTestIAMPermissions = D1 (MetaData "DeploymentsTestIAMPermissions" "Network.Google.Resource.DeploymentManager.Deployments.TestIAMPermissions" "gogol-deploymentmanager-0.4.0-1FvxHucO1CjAgqyDzotDSh" False) (C1 (MetaCons "DeploymentsTestIAMPermissions'" PrefixI True) (S1 (MetaSel (Just "_dtipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_dtipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestPermissionsRequest) :*: S1 (MetaSel (Just "_dtipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DeploymentsTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

dtipResource :: Lens' DeploymentsTestIAMPermissions Text Source #

Name or id of the resource for this request.