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 |
Returns permissions that a caller has on the specified resource.
See: Compute Engine API Reference for compute.nodeGroups.testIamPermissions
.
Synopsis
- type NodeGroupsTestIAMPermissionsResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeGroups" :> (Capture "resource" Text :> ("testIamPermissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestPermissionsRequest :> Post '[JSON] TestPermissionsResponse))))))))))
- nodeGroupsTestIAMPermissions :: Text -> Text -> TestPermissionsRequest -> Text -> NodeGroupsTestIAMPermissions
- data NodeGroupsTestIAMPermissions
- ngtipProject :: Lens' NodeGroupsTestIAMPermissions Text
- ngtipZone :: Lens' NodeGroupsTestIAMPermissions Text
- ngtipPayload :: Lens' NodeGroupsTestIAMPermissions TestPermissionsRequest
- ngtipResource :: Lens' NodeGroupsTestIAMPermissions Text
REST Resource
type NodeGroupsTestIAMPermissionsResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeGroups" :> (Capture "resource" Text :> ("testIamPermissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestPermissionsRequest :> Post '[JSON] TestPermissionsResponse)))))))))) Source #
A resource alias for compute.nodeGroups.testIamPermissions
method which the
NodeGroupsTestIAMPermissions
request conforms to.
Creating a Request
nodeGroupsTestIAMPermissions Source #
Creates a value of NodeGroupsTestIAMPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NodeGroupsTestIAMPermissions Source #
Returns permissions that a caller has on the specified resource.
See: nodeGroupsTestIAMPermissions
smart constructor.
Instances
Request Lenses
ngtipProject :: Lens' NodeGroupsTestIAMPermissions Text Source #
Project ID for this request.
ngtipPayload :: Lens' NodeGroupsTestIAMPermissions TestPermissionsRequest Source #
Multipart request metadata.
ngtipResource :: Lens' NodeGroupsTestIAMPermissions Text Source #
Name or id of the resource for this request.