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