2.2.3 (latest) 2.1.3 2.0.4 1.3.5 1.2.2 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class LivenessState.

Liveness health check status for Flex instances.

Protobuf type `google.appengine.v1.Instance.Liveness.LivenessState`

## Namespace

Google \\ Cloud \\ AppEngine \\ V1 \\ Instance \\ Liveness

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### LIVENESS_STATE_UNSPECIFIED

    Value: 0

There is no liveness health check for the instance. Only applicable for
instances in App Engine standard environment.

Generated from protobuf enum `LIVENESS_STATE_UNSPECIFIED = 0;`

### UNKNOWN

    Value: 1

The health checking system is aware of the instance but its health is
not known at the moment.

Generated from protobuf enum `UNKNOWN = 1;`

### HEALTHY

    Value: 2

The instance is reachable i.e. a connection to the application health
checking endpoint can be established, and conforms to the requirements
defined by the health check.

Generated from protobuf enum `HEALTHY = 2;`

### UNHEALTHY

    Value: 3

The instance is reachable, but does not conform to the requirements
defined by the health check.

Generated from protobuf enum `UNHEALTHY = 3;`

### DRAINING

    Value: 4

The instance is being drained. The existing connections to the instance
have time to complete, but the new ones are being refused.

Generated from protobuf enum `DRAINING = 4;`

### TIMEOUT

    Value: 5

The instance is unreachable i.e. a connection to the application health
checking endpoint cannot be established, or the server does not respond
within the specified timeout.

Generated from protobuf enum `TIMEOUT = 5;`