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 message google.appengine.v1.HealthCheck
Namespace
Google \ Cloud \ AppEngine \ V1Methods
__construct
Constructor.
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.
↳ check_interval
↳ timeout
getDisableHealthCheck
Whether to explicitly disable health checks for this instance.
bool
setDisableHealthCheck
Whether to explicitly disable health checks for this instance.
var
bool
$this
getHost
Host header to send when performing an HTTP health check.
Example: "myapp.appspot.com"
string
setHost
Host header to send when performing an HTTP health check.
Example: "myapp.appspot.com"
var
string
$this
getHealthyThreshold
Number of consecutive successful health checks required before receiving traffic.
int
setHealthyThreshold
Number of consecutive successful health checks required before receiving traffic.
var
int
$this
getUnhealthyThreshold
Number of consecutive failed health checks required before removing traffic.
int
setUnhealthyThreshold
Number of consecutive failed health checks required before removing traffic.
var
int
$this
getRestartThreshold
Number of consecutive failed health checks required before an instance is restarted.
int
setRestartThreshold
Number of consecutive failed health checks required before an instance is restarted.
var
int
$this
getCheckInterval
Interval between health checks.
hasCheckInterval
clearCheckInterval
setCheckInterval
Interval between health checks.
$this
getTimeout
Time before the health check is considered failed.
hasTimeout
clearTimeout
setTimeout
Time before the health check is considered failed.
$this