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 commitment resource. Gets a list of available commitments by making a list() request.
See: Compute Engine API Reference for compute.regionCommitments.get
.
Synopsis
- type RegionCommitmentsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("commitments" :> (Capture "commitment" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Commitment))))))))
- regionCommitmentsGet :: Text -> Text -> Text -> RegionCommitmentsGet
- data RegionCommitmentsGet
- rcgProject :: Lens' RegionCommitmentsGet Text
- rcgRegion :: Lens' RegionCommitmentsGet Text
- rcgCommitment :: Lens' RegionCommitmentsGet Text
REST Resource
type RegionCommitmentsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("commitments" :> (Capture "commitment" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Commitment)))))))) Source #
A resource alias for compute.regionCommitments.get
method which the
RegionCommitmentsGet
request conforms to.
Creating a Request
Creates a value of RegionCommitmentsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegionCommitmentsGet Source #
Returns the specified commitment resource. Gets a list of available commitments by making a list() request.
See: regionCommitmentsGet
smart constructor.
Instances
Request Lenses
rcgProject :: Lens' RegionCommitmentsGet Text Source #
Project ID for this request.
rcgCommitment :: Lens' RegionCommitmentsGet Text Source #
Name of the commitment to return.