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

Contents

Description

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

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

Synopsis

REST Resource

type MachineTypesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("machineTypes" :> (Capture "machineType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] MachineType)))))))) Source #

A resource alias for compute.machineTypes.get method which the MachineTypesGet request conforms to.

Creating a Request

machineTypesGet Source #

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

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

data MachineTypesGet Source #

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

See: machineTypesGet smart constructor.

Instances
Eq MachineTypesGet Source # 
Instance details

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

Data MachineTypesGet Source # 
Instance details

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

Methods

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

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

toConstr :: MachineTypesGet -> Constr #

dataTypeOf :: MachineTypesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MachineTypesGet Source # 
Instance details

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

Generic MachineTypesGet Source # 
Instance details

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

Associated Types

type Rep MachineTypesGet :: Type -> Type #

GoogleRequest MachineTypesGet Source # 
Instance details

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

Associated Types

type Rs MachineTypesGet :: Type #

type Scopes MachineTypesGet :: [Symbol] #

type Rep MachineTypesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

mtgProject :: Lens' MachineTypesGet Text Source #

Project ID for this request.

mtgZone :: Lens' MachineTypesGet Text Source #

The name of the zone for this request.

mtgMachineType :: Lens' MachineTypesGet Text Source #

Name of the machine type to return.