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. Get a list of available routes by making a list() request.
See: Compute Engine API Reference for compute.routes.get
.
- 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
- rouProject :: Lens' RoutesGet Text
- rouRoute :: 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
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:
Returns the specified Route resource. Get a list of available routes by making a list() request.
See: routesGet
smart constructor.