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.VPNTunnels.Get

Contents

Description

Returns the specified VpnTunnel resource. Get a list of available VPN tunnels by making a list() request.

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

Synopsis

REST Resource

type VPNTunnelsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("vpnTunnels" :> (Capture "vpnTunnel" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] VPNTunnel)))))))) Source #

A resource alias for compute.vpnTunnels.get method which the VPNTunnelsGet request conforms to.

Creating a Request

vpnTunnelsGet Source #

Creates a value of VPNTunnelsGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data VPNTunnelsGet Source #

Returns the specified VpnTunnel resource. Get a list of available VPN tunnels by making a list() request.

See: vpnTunnelsGet smart constructor.

Instances

Eq VPNTunnelsGet Source # 
Data VPNTunnelsGet Source # 

Methods

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

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

toConstr :: VPNTunnelsGet -> Constr #

dataTypeOf :: VPNTunnelsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VPNTunnelsGet Source # 
Generic VPNTunnelsGet Source # 

Associated Types

type Rep VPNTunnelsGet :: * -> * #

GoogleRequest VPNTunnelsGet Source # 

Associated Types

type Rs VPNTunnelsGet :: * #

type Scopes VPNTunnelsGet :: [Symbol] #

type Rep VPNTunnelsGet Source # 
type Rep VPNTunnelsGet = D1 (MetaData "VPNTunnelsGet" "Network.Google.Resource.Compute.VPNTunnels.Get" "gogol-compute-0.2.0-Au6gUXsPbe4EHzC1JwxdWw" False) (C1 (MetaCons "VPNTunnelsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vtgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_vtgVPNTunnel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_vtgRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes VPNTunnelsGet Source # 
type Scopes VPNTunnelsGet = (:) 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 VPNTunnelsGet Source # 

Request Lenses

vtgProject :: Lens' VPNTunnelsGet Text Source #

Project ID for this request.

vtgVPNTunnel :: Lens' VPNTunnelsGet Text Source #

Name of the VpnTunnel resource to return.

vtgRegion :: Lens' VPNTunnelsGet Text Source #

Name of the region for this request.