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 |
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
See: Google Cloud Deployment Manager API Reference for deploymentmanager.deployments.getIamPolicy
.
Synopsis
- type DeploymentsGetIAMPolicyResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "resource" Text :> ("getIamPolicy" :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))))
- deploymentsGetIAMPolicy :: Text -> Text -> DeploymentsGetIAMPolicy
- data DeploymentsGetIAMPolicy
- dgipProject :: Lens' DeploymentsGetIAMPolicy Text
- dgipResource :: Lens' DeploymentsGetIAMPolicy Text
REST Resource
type DeploymentsGetIAMPolicyResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "resource" Text :> ("getIamPolicy" :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy)))))))) Source #
A resource alias for deploymentmanager.deployments.getIamPolicy
method which the
DeploymentsGetIAMPolicy
request conforms to.
Creating a Request
deploymentsGetIAMPolicy Source #
Creates a value of DeploymentsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeploymentsGetIAMPolicy Source #
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
See: deploymentsGetIAMPolicy
smart constructor.
Instances
Request Lenses
dgipProject :: Lens' DeploymentsGetIAMPolicy Text Source #
Project ID for this request.
dgipResource :: Lens' DeploymentsGetIAMPolicy Text Source #
Name or id of the resource for this request.