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

Contents

Description

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

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

Synopsis

REST Resource

type NodeTemplatesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("nodeTemplates" :> (Capture "nodeTemplate" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] NodeTemplate)))))))) Source #

A resource alias for compute.nodeTemplates.get method which the NodeTemplatesGet request conforms to.

Creating a Request

nodeTemplatesGet Source #

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

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

data NodeTemplatesGet Source #

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

See: nodeTemplatesGet smart constructor.

Instances
Eq NodeTemplatesGet Source # 
Instance details

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

Data NodeTemplatesGet Source # 
Instance details

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

Methods

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

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

toConstr :: NodeTemplatesGet -> Constr #

dataTypeOf :: NodeTemplatesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NodeTemplatesGet Source # 
Instance details

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

Generic NodeTemplatesGet Source # 
Instance details

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

Associated Types

type Rep NodeTemplatesGet :: Type -> Type #

GoogleRequest NodeTemplatesGet Source # 
Instance details

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

Associated Types

type Rs NodeTemplatesGet :: Type #

type Scopes NodeTemplatesGet :: [Symbol] #

type Rep NodeTemplatesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

nodProject :: Lens' NodeTemplatesGet Text Source #

Project ID for this request.

nodNodeTemplate :: Lens' NodeTemplatesGet Text Source #

Name of the node template to return.

nodRegion :: Lens' NodeTemplatesGet Text Source #

The name of the region for this request.