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