Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.Compute.HealthChecks.Patch
Description
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.
See: Compute Engine API Reference for compute.healthChecks.patch
.
- type HealthChecksPatchResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("healthChecks" :> (Capture "healthCheck" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] HealthCheck :> Patch '[JSON] Operation))))))))
- healthChecksPatch :: Text -> Text -> HealthCheck -> HealthChecksPatch
- data HealthChecksPatch
- hcpHealthCheck :: Lens' HealthChecksPatch Text
- hcpProject :: Lens' HealthChecksPatch Text
- hcpPayload :: Lens' HealthChecksPatch HealthCheck
REST Resource
type HealthChecksPatchResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("healthChecks" :> (Capture "healthCheck" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] HealthCheck :> Patch '[JSON] Operation)))))))) #
A resource alias for compute.healthChecks.patch
method which the
HealthChecksPatch
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> HealthCheck | |
-> HealthChecksPatch |
Creates a value of HealthChecksPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data HealthChecksPatch #
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.
See: healthChecksPatch
smart constructor.
Instances
Request Lenses
hcpHealthCheck :: Lens' HealthChecksPatch Text #
Name of the HealthCheck resource to update.
hcpProject :: Lens' HealthChecksPatch Text #
Project ID for this request.
hcpPayload :: Lens' HealthChecksPatch HealthCheck #
Multipart request metadata.