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 persistent disk. Gets a list of available persistent disks by making a list() request.
See: Compute Engine API Reference for compute.disks.get
.
Synopsis
- type DisksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("disks" :> (Capture "disk" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Disk))))))))
- disksGet :: Text -> Text -> Text -> DisksGet
- data DisksGet
- dgProject :: Lens' DisksGet Text
- dgDisk :: Lens' DisksGet Text
- dgZone :: Lens' DisksGet Text
REST Resource
type DisksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("disks" :> (Capture "disk" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Disk)))))))) Source #
A resource alias for compute.disks.get
method which the
DisksGet
request conforms to.
Creating a Request
Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.
See: disksGet
smart constructor.
Instances
Eq DisksGet Source # | |
Data DisksGet Source # | |
Defined in Network.Google.Resource.Compute.Disks.Get gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisksGet -> c DisksGet # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisksGet # toConstr :: DisksGet -> Constr # dataTypeOf :: DisksGet -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DisksGet) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisksGet) # gmapT :: (forall b. Data b => b -> b) -> DisksGet -> DisksGet # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisksGet -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisksGet -> r # gmapQ :: (forall d. Data d => d -> u) -> DisksGet -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> DisksGet -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisksGet -> m DisksGet # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisksGet -> m DisksGet # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisksGet -> m DisksGet # | |
Show DisksGet Source # | |
Generic DisksGet Source # | |
GoogleRequest DisksGet Source # | |
type Rep DisksGet Source # | |
Defined in Network.Google.Resource.Compute.Disks.Get type Rep DisksGet = D1 (MetaData "DisksGet" "Network.Google.Resource.Compute.Disks.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "DisksGet'" PrefixI True) (S1 (MetaSel (Just "_dgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_dgDisk") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dgZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) | |
type Scopes DisksGet Source # | |
Defined in Network.Google.Resource.Compute.Disks.Get | |
type Rs DisksGet Source # | |
Defined in Network.Google.Resource.Compute.Disks.Get |