Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class HealthCheck.
Health checking configuration for VM instances. Unhealthy instances
are killed and replaced with new instances. Only applicable for
instances in App Engine flexible environment.
Generated from protobuf messagegoogle.appengine.v1.HealthCheck
Namespace
Google \ Cloud \ AppEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ disable_health_check
bool
Whether to explicitly disable health checks for this instance.
↳ host
string
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.
[[["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,["# Google Cloud Appengine Admin V1 Client - Class HealthCheck (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-appengine-admin/latest/V1.HealthCheck)\n- [2.0.3](/php/docs/reference/cloud-appengine-admin/2.0.3/V1.HealthCheck)\n- [1.3.5](/php/docs/reference/cloud-appengine-admin/1.3.5/V1.HealthCheck)\n- [1.2.2](/php/docs/reference/cloud-appengine-admin/1.2.2/V1.HealthCheck)\n- [1.1.1](/php/docs/reference/cloud-appengine-admin/1.1.1/V1.HealthCheck)\n- [1.0.6](/php/docs/reference/cloud-appengine-admin/1.0.6/V1.HealthCheck) \nReference documentation and code samples for the Google Cloud Appengine Admin V1 Client class HealthCheck.\n\nHealth checking configuration for VM instances. Unhealthy instances\nare killed and replaced with new instances. Only applicable for\ninstances in App Engine flexible environment.\n\nGenerated from protobuf message `google.appengine.v1.HealthCheck`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDisableHealthCheck\n\nWhether to explicitly disable health checks for this instance.\n\n### setDisableHealthCheck\n\nWhether to explicitly disable health checks for this instance.\n\n### getHost\n\nHost header to send when performing an HTTP health check.\n\nExample: \"myapp.appspot.com\"\n\n### setHost\n\nHost header to send when performing an HTTP health check.\n\nExample: \"myapp.appspot.com\"\n\n### getHealthyThreshold\n\nNumber of consecutive successful health checks required before receiving\ntraffic.\n\n### setHealthyThreshold\n\nNumber of consecutive successful health checks required before receiving\ntraffic.\n\n### getUnhealthyThreshold\n\nNumber of consecutive failed health checks required before removing\ntraffic.\n\n### setUnhealthyThreshold\n\nNumber of consecutive failed health checks required before removing\ntraffic.\n\n### getRestartThreshold\n\nNumber of consecutive failed health checks required before an instance is\nrestarted.\n\n### setRestartThreshold\n\nNumber of consecutive failed health checks required before an instance is\nrestarted.\n\n### getCheckInterval\n\nInterval between health checks.\n\n### hasCheckInterval\n\n### clearCheckInterval\n\n### setCheckInterval\n\nInterval between health checks.\n\n### getTimeout\n\nTime before the health check is considered failed.\n\n### hasTimeout\n\n### clearTimeout\n\n### setTimeout\n\nTime before the health check is considered failed."]]