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 target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
See: Compute Engine API Reference for compute.targetVpnGateways.get
.
Synopsis
- type TargetVPNGatewaysGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetVpnGateways" :> (Capture "targetVpnGateway" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TargetVPNGateway))))))))
- targetVPNGatewaysGet :: Text -> Text -> Text -> TargetVPNGatewaysGet
- data TargetVPNGatewaysGet
- tvggProject :: Lens' TargetVPNGatewaysGet Text
- tvggTargetVPNGateway :: Lens' TargetVPNGatewaysGet Text
- tvggRegion :: Lens' TargetVPNGatewaysGet Text
REST Resource
type TargetVPNGatewaysGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetVpnGateways" :> (Capture "targetVpnGateway" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TargetVPNGateway)))))))) Source #
A resource alias for compute.targetVpnGateways.get
method which the
TargetVPNGatewaysGet
request conforms to.
Creating a Request
Creates a value of TargetVPNGatewaysGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TargetVPNGatewaysGet Source #
Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
See: targetVPNGatewaysGet
smart constructor.
Instances
Request Lenses
tvggProject :: Lens' TargetVPNGatewaysGet Text Source #
Project ID for this request.
tvggTargetVPNGateway :: Lens' TargetVPNGatewaysGet Text Source #
Name of the target VPN gateway to return.
tvggRegion :: Lens' TargetVPNGatewaysGet Text Source #
Name of the region for this request.