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

Contents

Description

Returns the specified target pool. Gets 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. Gets a list of available target pools by making a list() request.

See: targetPoolsGet smart constructor.

Instances
Eq TargetPoolsGet Source # 
Instance details

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

Data TargetPoolsGet Source # 
Instance details

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

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 # 
Instance details

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

Generic TargetPoolsGet Source # 
Instance details

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

Associated Types

type Rep TargetPoolsGet :: Type -> Type #

GoogleRequest TargetPoolsGet Source # 
Instance details

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

Associated Types

type Rs TargetPoolsGet :: Type #

type Scopes TargetPoolsGet :: [Symbol] #

type Rep TargetPoolsGet Source # 
Instance details

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

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

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

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

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

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.