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 |
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)))))))) Source #
A resource alias for compute.healthChecks.patch
method which the
HealthChecksPatch
request conforms to.
Creating a Request
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 Source #
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.
See: healthChecksPatch
smart constructor.
Request Lenses
hcpHealthCheck :: Lens' HealthChecksPatch Text Source #
Name of the HealthCheck resource to update.
hcpProject :: Lens' HealthChecksPatch Text Source #
Project ID for this request.
hcpPayload :: Lens' HealthChecksPatch HealthCheck Source #
Multipart request metadata.