gogol-compute-0.2.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.TargetPools.Get

Contents

Description

Returns the specified target pool. Get a list of available target pools by making a list() request.

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

Synopsis

REST Resource

type TargetPoolsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("targetPools" :> (Capture "targetPool" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TargetPool)))))))) Source #

A resource alias for compute.targetPools.get method which the TargetPoolsGet request conforms to.

Creating a Request

targetPoolsGet Source #

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

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

data TargetPoolsGet Source #

Returns the specified target pool. Get a list of available target pools by making a list() request.

See: targetPoolsGet smart constructor.

Instances

Eq TargetPoolsGet Source # 
Data TargetPoolsGet Source # 

Methods

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

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

toConstr :: TargetPoolsGet -> Constr #

dataTypeOf :: TargetPoolsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TargetPoolsGet Source # 
Generic TargetPoolsGet Source # 

Associated Types

type Rep TargetPoolsGet :: * -> * #

GoogleRequest TargetPoolsGet Source # 
type Rep TargetPoolsGet Source # 
type Rep TargetPoolsGet = D1 (MetaData "TargetPoolsGet" "Network.Google.Resource.Compute.TargetPools.Get" "gogol-compute-0.2.0-Au6gUXsPbe4EHzC1JwxdWw" False) (C1 (MetaCons "TargetPoolsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tpgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_tpgTargetPool") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tpgRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TargetPoolsGet Source # 
type Scopes TargetPoolsGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ((:) Symbol "https://www.googleapis.com/auth/compute.readonly" ([] Symbol)))
type Rs TargetPoolsGet Source # 

Request Lenses

tpgProject :: Lens' TargetPoolsGet Text Source #

Project ID for this request.

tpgTargetPool :: Lens' TargetPoolsGet Text Source #

Name of the TargetPool resource to return.

tpgRegion :: Lens' TargetPoolsGet Text Source #

Name of the region scoping this request.