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

Contents

Description

Returns the specified Router resource. Gets a list of available routers by making a list() request.

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

Synopsis

REST Resource

type RoutersGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("routers" :> (Capture "router" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Router)))))))) Source #

A resource alias for compute.routers.get method which the RoutersGet request conforms to.

Creating a Request

routersGet Source #

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

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

data RoutersGet Source #

Returns the specified Router resource. Gets a list of available routers by making a list() request.

See: routersGet smart constructor.

Instances
Eq RoutersGet Source # 
Instance details

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

Data RoutersGet Source # 
Instance details

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

Methods

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

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

toConstr :: RoutersGet -> Constr #

dataTypeOf :: RoutersGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoutersGet Source # 
Instance details

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

Generic RoutersGet Source # 
Instance details

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

Associated Types

type Rep RoutersGet :: Type -> Type #

GoogleRequest RoutersGet Source # 
Instance details

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

Associated Types

type Rs RoutersGet :: Type #

type Scopes RoutersGet :: [Symbol] #

type Rep RoutersGet Source # 
Instance details

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

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

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

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

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

Request Lenses

rggProject :: Lens' RoutersGet Text Source #

Project ID for this request.

rggRouter :: Lens' RoutersGet Text Source #

Name of the Router resource to return.

rggRegion :: Lens' RoutersGet Text Source #

Name of the region for this request.