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: Compute Engine API Reference for compute.nodeTemplates.getIamPolicy
.
Synopsis
- type NodeTemplatesGetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("nodeTemplates" :> (Capture "resource" Text :> ("getIamPolicy" :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy)))))))))
- nodeTemplatesGetIAMPolicy :: Text -> Text -> Text -> NodeTemplatesGetIAMPolicy
- data NodeTemplatesGetIAMPolicy
- ntgipProject :: Lens' NodeTemplatesGetIAMPolicy Text
- ntgipResource :: Lens' NodeTemplatesGetIAMPolicy Text
- ntgipRegion :: Lens' NodeTemplatesGetIAMPolicy Text
REST Resource
type NodeTemplatesGetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("nodeTemplates" :> (Capture "resource" Text :> ("getIamPolicy" :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))))) Source #
A resource alias for compute.nodeTemplates.getIamPolicy
method which the
NodeTemplatesGetIAMPolicy
request conforms to.
Creating a Request
nodeTemplatesGetIAMPolicy Source #
Creates a value of NodeTemplatesGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NodeTemplatesGetIAMPolicy Source #
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
See: nodeTemplatesGetIAMPolicy
smart constructor.
Instances
Request Lenses
ntgipProject :: Lens' NodeTemplatesGetIAMPolicy Text Source #
Project ID for this request.
ntgipResource :: Lens' NodeTemplatesGetIAMPolicy Text Source #
Name or id of the resource for this request.
ntgipRegion :: Lens' NodeTemplatesGetIAMPolicy Text Source #
The name of the region for this request.