gogol-compute-0.3.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.HTTPHealthChecks.Patch

Contents

Description

Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.

See: Compute Engine API Reference for compute.httpHealthChecks.patch.

Synopsis

REST Resource

type HTTPHealthChecksPatchResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("httpHealthChecks" :> (Capture "httpHealthCheck" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] HTTPHealthCheck :> Patch '[JSON] Operation)))))))) Source #

A resource alias for compute.httpHealthChecks.patch method which the HTTPHealthChecksPatch request conforms to.

Creating a Request

hTTPHealthChecksPatch Source #

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

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

data HTTPHealthChecksPatch Source #

Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.

See: hTTPHealthChecksPatch smart constructor.

Instances

Eq HTTPHealthChecksPatch Source # 
Data HTTPHealthChecksPatch Source # 

Methods

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

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

toConstr :: HTTPHealthChecksPatch -> Constr #

dataTypeOf :: HTTPHealthChecksPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HTTPHealthChecksPatch Source # 
Generic HTTPHealthChecksPatch Source # 
GoogleRequest HTTPHealthChecksPatch Source # 
type Rep HTTPHealthChecksPatch Source # 
type Rep HTTPHealthChecksPatch = D1 (MetaData "HTTPHealthChecksPatch" "Network.Google.Resource.Compute.HTTPHealthChecks.Patch" "gogol-compute-0.3.0-JmC4j0JQjdEJ6YK33fLFL4" False) (C1 (MetaCons "HTTPHealthChecksPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_httphcpProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_httphcpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 HTTPHealthCheck)) (S1 (MetaSel (Just Symbol "_httphcpHTTPHealthCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes HTTPHealthChecksPatch Source # 
type Scopes HTTPHealthChecksPatch = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol))
type Rs HTTPHealthChecksPatch Source # 

Request Lenses

httphcpProject :: Lens' HTTPHealthChecksPatch Text Source #

Project ID for this request.

httphcpHTTPHealthCheck :: Lens' HTTPHealthChecksPatch Text Source #

Name of the HttpHealthCheck resource to update.