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