gogol-compute-0.4.0: Google Compute Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Compute.Disks.Get

Contents

Description

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

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

disksGet Source #

Creates a value of DisksGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DisksGet Source #

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 # 
Instance details

Defined in Network.Google.Resource.Compute.Disks.Get

Data DisksGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Disks.Get

Methods

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 # 
Instance details

Defined in Network.Google.Resource.Compute.Disks.Get

Generic DisksGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Disks.Get

Associated Types

type Rep DisksGet :: Type -> Type #

Methods

from :: DisksGet -> Rep DisksGet x #

to :: Rep DisksGet x -> DisksGet #

GoogleRequest DisksGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Disks.Get

Associated Types

type Rs DisksGet :: Type #

type Scopes DisksGet :: [Symbol] #

type Rep DisksGet Source # 
Instance details

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 # 
Instance details

Defined in Network.Google.Resource.Compute.Disks.Get

type Scopes DisksGet = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/compute" ': ("https://www.googleapis.com/auth/compute.readonly" ': ([] :: [Symbol])))
type Rs DisksGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Disks.Get

Request Lenses

dgProject :: Lens' DisksGet Text Source #

Project ID for this request.

dgDisk :: Lens' DisksGet Text Source #

Name of the persistent disk to return.

dgZone :: Lens' DisksGet Text Source #

The name of the zone for this request.