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 Router resource. Gets a list of available routers by making a list() request.
See: Compute Engine API Reference for compute.routers.get
.
Synopsis
- type RoutersGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("routers" :> (Capture "router" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Router))))))))
- routersGet :: Text -> Text -> Text -> RoutersGet
- data RoutersGet
- rggProject :: Lens' RoutersGet Text
- rggRouter :: Lens' RoutersGet Text
- rggRegion :: Lens' RoutersGet Text
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
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
Request Lenses
rggProject :: Lens' RoutersGet Text Source #
Project ID for this request.