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

Contents

Description

Returns the specified Route resource. Gets a list of available routes by making a list() request.

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

Synopsis

REST Resource

type RoutesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("routes" :> (Capture "route" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Route))))))) Source #

A resource alias for compute.routes.get method which the RoutesGet request conforms to.

Creating a Request

routesGet Source #

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

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

data RoutesGet Source #

Returns the specified Route resource. Gets a list of available routes by making a list() request.

See: routesGet smart constructor.

Instances
Eq RoutesGet Source # 
Instance details

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

Data RoutesGet Source # 
Instance details

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

Methods

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

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

toConstr :: RoutesGet -> Constr #

dataTypeOf :: RoutesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoutesGet Source # 
Instance details

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

Generic RoutesGet Source # 
Instance details

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

Associated Types

type Rep RoutesGet :: Type -> Type #

GoogleRequest RoutesGet Source # 
Instance details

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

Associated Types

type Rs RoutesGet :: Type #

type Scopes RoutesGet :: [Symbol] #

type Rep RoutesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

rrProject :: Lens' RoutesGet Text Source #

Project ID for this request.

rrRoute :: Lens' RoutesGet Text Source #

Name of the Route resource to return.