| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.DeploymentManager.Deployments.TestIAMPermissions
Description
Returns permissions that a caller has on the specified resource.
See: Google Cloud Deployment Manager API Reference for deploymentmanager.deployments.testIamPermissions.
Synopsis
- type DeploymentsTestIAMPermissionsResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "resource" Text :> ("testIamPermissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestPermissionsRequest :> Post '[JSON] TestPermissionsResponse)))))))))
- deploymentsTestIAMPermissions :: Text -> TestPermissionsRequest -> Text -> DeploymentsTestIAMPermissions
- data DeploymentsTestIAMPermissions
- dtipProject :: Lens' DeploymentsTestIAMPermissions Text
- dtipPayload :: Lens' DeploymentsTestIAMPermissions TestPermissionsRequest
- dtipResource :: Lens' DeploymentsTestIAMPermissions Text
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 #
Arguments
| :: Text | |
| -> TestPermissionsRequest | |
| -> Text | |
| -> DeploymentsTestIAMPermissions |
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
Request Lenses
dtipProject :: Lens' DeploymentsTestIAMPermissions Text Source #
Project ID for this request.
dtipPayload :: Lens' DeploymentsTestIAMPermissions TestPermissionsRequest Source #
Multipart request metadata.
dtipResource :: Lens' DeploymentsTestIAMPermissions Text Source #
Name or id of the resource for this request.