gogol-replicapool-0.5.0: Google Replica Pool 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.ReplicaPool.Pools.Updatetemplate

Contents

Description

Update the template used by the pool.

See: Replica Pool API Reference for replicapool.pools.updatetemplate.

Synopsis

REST Resource

type PoolsUpdatetemplateResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("updateTemplate" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Template :> Post '[JSON] ())))))))))) Source #

A resource alias for replicapool.pools.updatetemplate method which the PoolsUpdatetemplate request conforms to.

Creating a Request

poolsUpdatetemplate Source #

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

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

data PoolsUpdatetemplate Source #

Update the template used by the pool.

See: poolsUpdatetemplate smart constructor.

Instances
Eq PoolsUpdatetemplate Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Updatetemplate

Data PoolsUpdatetemplate Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Updatetemplate

Methods

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

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

toConstr :: PoolsUpdatetemplate -> Constr #

dataTypeOf :: PoolsUpdatetemplate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PoolsUpdatetemplate Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Updatetemplate

Generic PoolsUpdatetemplate Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Updatetemplate

Associated Types

type Rep PoolsUpdatetemplate :: Type -> Type #

GoogleRequest PoolsUpdatetemplate Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Updatetemplate

Associated Types

type Rs PoolsUpdatetemplate :: Type #

type Scopes PoolsUpdatetemplate :: [Symbol] #

type Rep PoolsUpdatetemplate Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Updatetemplate

type Rep PoolsUpdatetemplate = D1 (MetaData "PoolsUpdatetemplate" "Network.Google.Resource.ReplicaPool.Pools.Updatetemplate" "gogol-replicapool-0.5.0-33CZPZk0hLaDkDApSMoCYi" False) (C1 (MetaCons "PoolsUpdatetemplate'" PrefixI True) ((S1 (MetaSel (Just "_puPoolName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_puZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_puPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Template) :*: S1 (MetaSel (Just "_puProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes PoolsUpdatetemplate Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Updatetemplate

type Scopes PoolsUpdatetemplate = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/ndev.cloudman" ': ("https://www.googleapis.com/auth/replicapool" ': ([] :: [Symbol])))
type Rs PoolsUpdatetemplate Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Pools.Updatetemplate

Request Lenses

puPoolName :: Lens' PoolsUpdatetemplate Text Source #

The name of the replica pool for this request.

puZone :: Lens' PoolsUpdatetemplate Text Source #

The zone for this replica pool.

puPayload :: Lens' PoolsUpdatetemplate Template Source #

Multipart request metadata.

puProjectName :: Lens' PoolsUpdatetemplate Text Source #

The project ID for this replica pool.