gogol-compute-0.2.0: Google Compute Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Compute.TargetVPNGateways.Get

Contents

Description

Returns the specified target VPN gateway. Get a list of available target VPN gateways by making a list() request.

See: Compute Engine API Reference for compute.targetVpnGateways.get.

Synopsis

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

targetVPNGatewaysGet Source #

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. Get a list of available target VPN gateways by making a list() request.

See: targetVPNGatewaysGet smart constructor.

Instances

Eq TargetVPNGatewaysGet Source # 
Data TargetVPNGatewaysGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TargetVPNGatewaysGet -> c TargetVPNGatewaysGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TargetVPNGatewaysGet #

toConstr :: TargetVPNGatewaysGet -> Constr #

dataTypeOf :: TargetVPNGatewaysGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TargetVPNGatewaysGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TargetVPNGatewaysGet) #

gmapT :: (forall b. Data b => b -> b) -> TargetVPNGatewaysGet -> TargetVPNGatewaysGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TargetVPNGatewaysGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TargetVPNGatewaysGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> TargetVPNGatewaysGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TargetVPNGatewaysGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TargetVPNGatewaysGet -> m TargetVPNGatewaysGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetVPNGatewaysGet -> m TargetVPNGatewaysGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetVPNGatewaysGet -> m TargetVPNGatewaysGet #

Show TargetVPNGatewaysGet Source # 
Generic TargetVPNGatewaysGet Source # 
GoogleRequest TargetVPNGatewaysGet Source # 
type Rep TargetVPNGatewaysGet Source # 
type Rep TargetVPNGatewaysGet = D1 (MetaData "TargetVPNGatewaysGet" "Network.Google.Resource.Compute.TargetVPNGateways.Get" "gogol-compute-0.2.0-Au6gUXsPbe4EHzC1JwxdWw" False) (C1 (MetaCons "TargetVPNGatewaysGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tvggProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_tvggTargetVPNGateway") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tvggRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TargetVPNGatewaysGet Source # 
type Scopes TargetVPNGatewaysGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ((:) Symbol "https://www.googleapis.com/auth/compute.readonly" ([] Symbol)))
type Rs TargetVPNGatewaysGet Source # 

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.