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 a specified regional persistent disk.
See: Compute Engine API Reference for compute.regionDisks.get
.
Synopsis
- type RegionDisksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("disks" :> (Capture "disk" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Disk))))))))
- regionDisksGet :: Text -> Text -> Text -> RegionDisksGet
- data RegionDisksGet
- rdgProject :: Lens' RegionDisksGet Text
- rdgDisk :: Lens' RegionDisksGet Text
- rdgRegion :: Lens' RegionDisksGet Text
REST Resource
type RegionDisksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("disks" :> (Capture "disk" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Disk)))))))) Source #
A resource alias for compute.regionDisks.get
method which the
RegionDisksGet
request conforms to.
Creating a Request
Creates a value of RegionDisksGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegionDisksGet Source #
Returns a specified regional persistent disk.
See: regionDisksGet
smart constructor.
Instances
Request Lenses
rdgProject :: Lens' RegionDisksGet Text Source #
Project ID for this request.