# Class HealthCheck (1.18.0)

1.18.0 (latest) 1.17.0 1.16.0 1.15.0 1.14.2 1.13.0 1.12.1 1.11.5 1.10.0 1.9.4 1.8.1 1.7.1 1.6.0 1.5.3 1.4.1 1.3.3 1.2.1 1.1.5 1.0.2 0.2.0 0.1.0

    HealthCheck(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Health checking configuration for VM instances. Unhealthy
instances are killed and replaced with new instances. Only
applicable for instances in App Engine flexible environment.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `disable_health_check` | `bool` Whether to explicitly disable health checks for this instance. |
| `host` | `str` Host header to send when performing an HTTP health check. Example: "myapp.appspot.com". |
| `healthy_threshold` | `int` Number of consecutive successful health checks required before receiving traffic. |
| `unhealthy_threshold` | `int` Number of consecutive failed health checks required before removing traffic. |
| `restart_threshold` | `int` Number of consecutive failed health checks required before an instance is restarted. |
| `check_interval` | `google.protobuf.duration_pb2.Duration` Interval between health checks. |
| `timeout` | `google.protobuf.duration_pb2.Duration` Time before the health check is considered failed. |