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

Contents

Description

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

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

Synopsis

REST Resource

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

A resource alias for compute.regionDiskTypes.get method which the RegionDiskTypesGet request conforms to.

Creating a Request

regionDiskTypesGet Source #

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

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

data RegionDiskTypesGet Source #

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

See: regionDiskTypesGet smart constructor.

Instances
Eq RegionDiskTypesGet Source # 
Instance details

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

Data RegionDiskTypesGet Source # 
Instance details

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

Methods

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

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

toConstr :: RegionDiskTypesGet -> Constr #

dataTypeOf :: RegionDiskTypesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RegionDiskTypesGet Source # 
Instance details

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

Generic RegionDiskTypesGet Source # 
Instance details

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

Associated Types

type Rep RegionDiskTypesGet :: Type -> Type #

GoogleRequest RegionDiskTypesGet Source # 
Instance details

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

Associated Types

type Rs RegionDiskTypesGet :: Type #

type Scopes RegionDiskTypesGet :: [Symbol] #

type Rep RegionDiskTypesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

rdtgProject :: Lens' RegionDiskTypesGet Text Source #

Project ID for this request.

rdtgDiskType :: Lens' RegionDiskTypesGet Text Source #

Name of the disk type to return.

rdtgRegion :: Lens' RegionDiskTypesGet Text Source #

The name of the region for this request.