Reference documentation and code samples for the App Engine Admin V1 API module Google::Cloud::AppEngine::V1::Instance::Liveness::LivenessState.
Liveness health check status for Flex instances.
Constants
LIVENESS_STATE_UNSPECIFIED
value: 0 There is no liveness health check for the instance. Only applicable for
instances in App Engine standard environment.
UNKNOWN
value: 1 The health checking system is aware of the instance but its health is
not known at the moment.
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.
UNHEALTHY
value: 3 The instance is reachable, but does not conform to the requirements
defined by the health check.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# App Engine Admin V1 API - Module Google::Cloud::AppEngine::V1::Instance::Liveness::LivenessState (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [1.2.1](/ruby/docs/reference/google-cloud-app_engine-v1/1.2.1/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [1.1.0](/ruby/docs/reference/google-cloud-app_engine-v1/1.1.0/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [1.0.1](/ruby/docs/reference/google-cloud-app_engine-v1/1.0.1/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [0.10.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.10.0/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [0.9.2](/ruby/docs/reference/google-cloud-app_engine-v1/0.9.2/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [0.8.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.8.0/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [0.7.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.7.0/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [0.6.1](/ruby/docs/reference/google-cloud-app_engine-v1/0.6.1/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [0.5.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.5.0/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [0.4.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.4.0/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState)\n- [0.3.6](/ruby/docs/reference/google-cloud-app_engine-v1/0.3.6/Google-Cloud-AppEngine-V1-Instance-Liveness-LivenessState) \nReference documentation and code samples for the App Engine Admin V1 API module Google::Cloud::AppEngine::V1::Instance::Liveness::LivenessState.\n\nLiveness health check status for Flex instances.\n\nConstants\n---------\n\n### LIVENESS_STATE_UNSPECIFIED\n\n**value:** 0 \nThere is no liveness health check for the instance. Only applicable for\ninstances in App Engine standard environment.\n\n### UNKNOWN\n\n**value:** 1 \nThe health checking system is aware of the instance but its health is\nnot known at the moment.\n\n### HEALTHY\n\n**value:** 2 \nThe instance is reachable i.e. a connection to the application health\nchecking endpoint can be established, and conforms to the requirements\ndefined by the health check.\n\n### UNHEALTHY\n\n**value:** 3 \nThe instance is reachable, but does not conform to the requirements\ndefined by the health check.\n\n### DRAINING\n\n**value:** 4 \nThe instance is being drained. The existing connections to the instance\nhave time to complete, but the new ones are being refused.\n\n### TIMEOUT\n\n**value:** 5 \nThe instance is unreachable i.e. a connection to the application health\nchecking endpoint cannot be established, or the server does not respond\nwithin the specified timeout."]]