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