gogol-replicapool-0.4.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.Replicas.Delete

Contents

Description

Deletes a replica from the pool.

See: Replica Pool API Reference for replicapool.replicas.delete.

Synopsis

REST Resource

type ReplicasDeleteResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReplicasDeleteRequest :> Post '[JSON] Replica))))))))))) Source #

A resource alias for replicapool.replicas.delete method which the ReplicasDelete request conforms to.

Creating a Request

replicasDelete Source #

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

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

data ReplicasDelete Source #

Deletes a replica from the pool.

See: replicasDelete smart constructor.

Instances
Eq ReplicasDelete Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.Delete

Data ReplicasDelete Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.Delete

Methods

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

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

toConstr :: ReplicasDelete -> Constr #

dataTypeOf :: ReplicasDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReplicasDelete Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.Delete

Generic ReplicasDelete Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.Delete

Associated Types

type Rep ReplicasDelete :: Type -> Type #

GoogleRequest ReplicasDelete Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.Delete

Associated Types

type Rs ReplicasDelete :: Type #

type Scopes ReplicasDelete :: [Symbol] #

type Rep ReplicasDelete Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.Delete

type Rep ReplicasDelete = D1 (MetaData "ReplicasDelete" "Network.Google.Resource.ReplicaPool.Replicas.Delete" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "ReplicasDelete'" PrefixI True) ((S1 (MetaSel (Just "_rdPoolName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rdZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rdPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ReplicasDeleteRequest) :*: (S1 (MetaSel (Just "_rdReplicaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rdProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ReplicasDelete Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.Delete

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

Defined in Network.Google.Resource.ReplicaPool.Replicas.Delete

Request Lenses

rdPoolName :: Lens' ReplicasDelete Text Source #

The replica pool name for this request.

rdZone :: Lens' ReplicasDelete Text Source #

The zone where the replica lives.

rdReplicaName :: Lens' ReplicasDelete Text Source #

The name of the replica for this request.

rdProjectName :: Lens' ReplicasDelete Text Source #

The project ID for this request.