Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class LivenessCheck.
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Generated from protobuf message google.appengine.v1.LivenessCheck
Namespace
Google \ Cloud \ AppEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ path
string
The request path.
↳ host
string
Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
↳ failure_threshold
int
Number of consecutive failed checks required before considering the VM unhealthy.
↳ success_threshold
int
Number of consecutive successful checks required before considering the VM healthy.
↳ check_interval
↳ timeout
↳ initial_delay
getPath
The request path.
string
setPath
The request path.
var
string
$this
getHost
Host header to send when performing a HTTP Liveness check.
Example: "myapp.appspot.com"
string
setHost
Host header to send when performing a HTTP Liveness check.
Example: "myapp.appspot.com"
var
string
$this
getFailureThreshold
Number of consecutive failed checks required before considering the VM unhealthy.
int
setFailureThreshold
Number of consecutive failed checks required before considering the VM unhealthy.
var
int
$this
getSuccessThreshold
Number of consecutive successful checks required before considering the VM healthy.
int
setSuccessThreshold
Number of consecutive successful checks required before considering the VM healthy.
var
int
$this
getCheckInterval
Interval between health checks.
hasCheckInterval
clearCheckInterval
setCheckInterval
Interval between health checks.
$this
getTimeout
Time before the check is considered failed.
hasTimeout
clearTimeout
setTimeout
Time before the check is considered failed.
$this
getInitialDelay
The initial delay before starting to execute the checks.
hasInitialDelay
clearInitialDelay
setInitialDelay
The initial delay before starting to execute the checks.
$this