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