| 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 |
Network.Google.Resource.Compute.Subnetworks.Get
Description
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
See: Compute Engine API Reference for compute.subnetworks.get.
Synopsis
- type SubnetworksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("subnetworks" :> (Capture "subnetwork" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Subnetwork))))))))
- subnetworksGet :: Text -> Text -> Text -> SubnetworksGet
- data SubnetworksGet
- sgProject :: Lens' SubnetworksGet Text
- sgSubnetwork :: Lens' SubnetworksGet Text
- sgRegion :: Lens' SubnetworksGet Text
REST Resource
type SubnetworksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("subnetworks" :> (Capture "subnetwork" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Subnetwork)))))))) Source #
A resource alias for compute.subnetworks.get method which the
SubnetworksGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> SubnetworksGet |
Creates a value of SubnetworksGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubnetworksGet Source #
Returns the specified subnetwork. Gets a list of available subnetworks list() request.
See: subnetworksGet smart constructor.
Instances
Request Lenses
sgSubnetwork :: Lens' SubnetworksGet Text Source #
Name of the Subnetwork resource to return.