gogol-compute-0.4.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. Gets 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. Gets a list of available VPN tunnels by making a list() request.

See: vpnTunnelsGet smart constructor.

Instances
Eq VPNTunnelsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.VPNTunnels.Get

Data VPNTunnelsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.VPNTunnels.Get

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 # 
Instance details

Defined in Network.Google.Resource.Compute.VPNTunnels.Get

Generic VPNTunnelsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.VPNTunnels.Get

Associated Types

type Rep VPNTunnelsGet :: Type -> Type #

GoogleRequest VPNTunnelsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.VPNTunnels.Get

Associated Types

type Rs VPNTunnelsGet :: Type #

type Scopes VPNTunnelsGet :: [Symbol] #

type Rep VPNTunnelsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.VPNTunnels.Get

type Rep VPNTunnelsGet = D1 (MetaData "VPNTunnelsGet" "Network.Google.Resource.Compute.VPNTunnels.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "VPNTunnelsGet'" PrefixI True) (S1 (MetaSel (Just "_vtgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_vtgVPNTunnel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_vtgRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes VPNTunnelsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.VPNTunnels.Get

type Scopes VPNTunnelsGet = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/compute" ': ("https://www.googleapis.com/auth/compute.readonly" ': ([] :: [Symbol])))
type Rs VPNTunnelsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.VPNTunnels.Get

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.