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