Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- type RoutesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("routes" :> (Capture "route" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Route)))))))
- routesGet :: Text -> Text -> RoutesGet
- data RoutesGet
- rrProject :: Lens' RoutesGet Text
- rrRoute :: Lens' RoutesGet Text
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
Returns the specified Route resource. Gets a list of available routes by making a list() request.
See: routesGet
smart constructor.
Instances
Eq RoutesGet Source # | |
Data RoutesGet Source # | |
Defined in Network.Google.Resource.Compute.Routes.Get 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 # | |
Generic RoutesGet Source # | |
GoogleRequest RoutesGet Source # | |
type Rep RoutesGet Source # | |
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 # | |
Defined in Network.Google.Resource.Compute.Routes.Get | |
type Rs RoutesGet Source # | |
Defined in Network.Google.Resource.Compute.Routes.Get |