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 |
List all of the ordered rules present in a single specified policy.
See: Compute Engine API Reference for compute.securityPolicies.get
.
Synopsis
- type SecurityPoliciesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("securityPolicies" :> (Capture "securityPolicy" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SecurityPolicy)))))))
- securityPoliciesGet :: Text -> Text -> SecurityPoliciesGet
- data SecurityPoliciesGet
- secProject :: Lens' SecurityPoliciesGet Text
- secSecurityPolicy :: Lens' SecurityPoliciesGet Text
REST Resource
type SecurityPoliciesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("securityPolicies" :> (Capture "securityPolicy" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SecurityPolicy))))))) Source #
A resource alias for compute.securityPolicies.get
method which the
SecurityPoliciesGet
request conforms to.
Creating a Request
Creates a value of SecurityPoliciesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SecurityPoliciesGet Source #
List all of the ordered rules present in a single specified policy.
See: securityPoliciesGet
smart constructor.
Instances
Request Lenses
secProject :: Lens' SecurityPoliciesGet Text Source #
Project ID for this request.
secSecurityPolicy :: Lens' SecurityPoliciesGet Text Source #
Name of the security policy to get.