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.DiskTypes.Get

Contents

Description

Returns the specified disk type. Gets a list of available disk types by making a list() request.

See: Compute Engine API Reference for compute.diskTypes.get.

Synopsis

REST Resource

type DiskTypesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("diskTypes" :> (Capture "diskType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DiskType)))))))) Source #

A resource alias for compute.diskTypes.get method which the DiskTypesGet request conforms to.

Creating a Request

diskTypesGet Source #

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

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

data DiskTypesGet Source #

Returns the specified disk type. Gets a list of available disk types by making a list() request.

See: diskTypesGet smart constructor.

Instances
Eq DiskTypesGet Source # 
Instance details

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

Data DiskTypesGet Source # 
Instance details

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

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DiskTypesGet -> c DiskTypesGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DiskTypesGet #

toConstr :: DiskTypesGet -> Constr #

dataTypeOf :: DiskTypesGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DiskTypesGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DiskTypesGet) #

gmapT :: (forall b. Data b => b -> b) -> DiskTypesGet -> DiskTypesGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DiskTypesGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DiskTypesGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> DiskTypesGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DiskTypesGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DiskTypesGet -> m DiskTypesGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DiskTypesGet -> m DiskTypesGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DiskTypesGet -> m DiskTypesGet #

Show DiskTypesGet Source # 
Instance details

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

Generic DiskTypesGet Source # 
Instance details

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

Associated Types

type Rep DiskTypesGet :: Type -> Type #

GoogleRequest DiskTypesGet Source # 
Instance details

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

Associated Types

type Rs DiskTypesGet :: Type #

type Scopes DiskTypesGet :: [Symbol] #

type Rep DiskTypesGet Source # 
Instance details

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

type Rep DiskTypesGet = D1 (MetaData "DiskTypesGet" "Network.Google.Resource.Compute.DiskTypes.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "DiskTypesGet'" PrefixI True) (S1 (MetaSel (Just "_dtgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_dtgZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dtgDiskType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DiskTypesGet Source # 
Instance details

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

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

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

Request Lenses

dtgProject :: Lens' DiskTypesGet Text Source #

Project ID for this request.

dtgZone :: Lens' DiskTypesGet Text Source #

The name of the zone for this request.

dtgDiskType :: Lens' DiskTypesGet Text Source #

Name of the disk type to return.