gogol-autoscaler-0.2.0: Google Compute Engine Autoscaler 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.Autoscaler.Autoscalers.Patch

Contents

Description

Update the entire content of the Autoscaler resource. This method supports patch semantics.

See: Google Compute Engine Autoscaler API Reference for autoscaler.autoscalers.patch.

Synopsis

REST Resource

type AutoscalersPatchResource = "autoscaler" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("autoscalers" :> (Capture "autoscaler" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Autoscaler :> Patch '[JSON] Operation))))))))) Source #

A resource alias for autoscaler.autoscalers.patch method which the AutoscalersPatch request conforms to.

Creating a Request

autoscalersPatch Source #

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

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

data AutoscalersPatch Source #

Update the entire content of the Autoscaler resource. This method supports patch semantics.

See: autoscalersPatch smart constructor.

Instances

Eq AutoscalersPatch Source # 
Data AutoscalersPatch Source # 

Methods

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

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

toConstr :: AutoscalersPatch -> Constr #

dataTypeOf :: AutoscalersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AutoscalersPatch Source # 
Generic AutoscalersPatch Source # 
GoogleRequest AutoscalersPatch Source # 
type Rep AutoscalersPatch Source # 
type Rep AutoscalersPatch = D1 (MetaData "AutoscalersPatch" "Network.Google.Resource.Autoscaler.Autoscalers.Patch" "gogol-autoscaler-0.2.0-1gTbhmEEhpT2iyGDurIaOz" False) (C1 (MetaCons "AutoscalersPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_apProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_apZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_apPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Autoscaler)) (S1 (MetaSel (Just Symbol "_apAutoscaler") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes AutoscalersPatch Source # 
type Scopes AutoscalersPatch = (:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol)
type Rs AutoscalersPatch Source # 

Request Lenses

apProject :: Lens' AutoscalersPatch Text Source #

Project ID of Autoscaler resource.

apZone :: Lens' AutoscalersPatch Text Source #

Zone name of Autoscaler resource.

apPayload :: Lens' AutoscalersPatch Autoscaler Source #

Multipart request metadata.

apAutoscaler :: Lens' AutoscalersPatch Text Source #

Name of the Autoscaler resource.