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

Contents

Description

Returns the specified instance template. Gets a list of available instance templates by making a list() request.

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

Synopsis

REST Resource

type InstanceTemplatesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("instanceTemplates" :> (Capture "instanceTemplate" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] InstanceTemplate))))))) Source #

A resource alias for compute.instanceTemplates.get method which the InstanceTemplatesGet request conforms to.

Creating a Request

instanceTemplatesGet Source #

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

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

data InstanceTemplatesGet Source #

Returns the specified instance template. Gets a list of available instance templates by making a list() request.

See: instanceTemplatesGet smart constructor.

Instances
Eq InstanceTemplatesGet Source # 
Instance details

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

Data InstanceTemplatesGet Source # 
Instance details

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

Methods

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

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

toConstr :: InstanceTemplatesGet -> Constr #

dataTypeOf :: InstanceTemplatesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceTemplatesGet Source # 
Instance details

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

Generic InstanceTemplatesGet Source # 
Instance details

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

Associated Types

type Rep InstanceTemplatesGet :: Type -> Type #

GoogleRequest InstanceTemplatesGet Source # 
Instance details

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

Associated Types

type Rs InstanceTemplatesGet :: Type #

type Scopes InstanceTemplatesGet :: [Symbol] #

type Rep InstanceTemplatesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

itgProject :: Lens' InstanceTemplatesGet Text Source #

Project ID for this request.

itgInstanceTemplate :: Lens' InstanceTemplatesGet Text Source #

The name of the instance template.