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 network. Gets a list of available networks by making a list() request.
See: Compute Engine API Reference for compute.networks.get
.
Synopsis
- type NetworksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("networks" :> (Capture "network" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Network)))))))
- networksGet :: Text -> Text -> NetworksGet
- data NetworksGet
- ngProject :: Lens' NetworksGet Text
- ngNetwork :: Lens' NetworksGet Text
REST Resource
type NetworksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("networks" :> (Capture "network" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Network))))))) Source #
A resource alias for compute.networks.get
method which the
NetworksGet
request conforms to.
Creating a Request
Creates a value of NetworksGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NetworksGet Source #
Returns the specified network. Gets a list of available networks by making a list() request.
See: networksGet
smart constructor.