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 the specified firewall.
See: Compute Engine API Reference for compute.firewalls.get
.
Synopsis
- type FirewallsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("firewalls" :> (Capture "firewall" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Firewall)))))))
- firewallsGet :: Text -> Text -> FirewallsGet
- data FirewallsGet
- fgProject :: Lens' FirewallsGet Text
- fgFirewall :: Lens' FirewallsGet Text
REST Resource
type FirewallsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("firewalls" :> (Capture "firewall" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Firewall))))))) Source #
A resource alias for compute.firewalls.get
method which the
FirewallsGet
request conforms to.
Creating a Request
Creates a value of FirewallsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FirewallsGet Source #
Returns the specified firewall.
See: firewallsGet
smart constructor.
Instances
Request Lenses
fgFirewall :: Lens' FirewallsGet Text Source #
Name of the firewall rule to return.