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 accelerator type.
See: Compute Engine API Reference for compute.acceleratorTypes.get
.
Synopsis
- type AcceleratorTypesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("acceleratorTypes" :> (Capture "acceleratorType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AcceleratorType))))))))
- acceleratorTypesGet :: Text -> Text -> Text -> AcceleratorTypesGet
- data AcceleratorTypesGet
- atgAcceleratorType :: Lens' AcceleratorTypesGet Text
- atgProject :: Lens' AcceleratorTypesGet Text
- atgZone :: Lens' AcceleratorTypesGet Text
REST Resource
type AcceleratorTypesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("acceleratorTypes" :> (Capture "acceleratorType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AcceleratorType)))))))) Source #
A resource alias for compute.acceleratorTypes.get
method which the
AcceleratorTypesGet
request conforms to.
Creating a Request
Creates a value of AcceleratorTypesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AcceleratorTypesGet Source #
Returns the specified accelerator type.
See: acceleratorTypesGet
smart constructor.
Instances
Request Lenses
atgAcceleratorType :: Lens' AcceleratorTypesGet Text Source #
Name of the accelerator type to return.
atgProject :: Lens' AcceleratorTypesGet Text Source #
Project ID for this request.