Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class ReadinessCheck.
Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
Generated from protobuf message google.appengine.v1.ReadinessCheck
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 Readiness check. Example: "myapp.appspot.com"
↳ failure_threshold
int
Number of consecutive failed checks required before removing traffic.
↳ success_threshold
int
Number of consecutive successful checks required before receiving traffic.
↳ check_interval
↳ timeout
↳ app_start_timeout
Google\Protobuf\Duration
A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
getPath
The request path.
string
setPath
The request path.
var
string
$this
getHost
Host header to send when performing a HTTP Readiness check.
Example: "myapp.appspot.com"
string
setHost
Host header to send when performing a HTTP Readiness check.
Example: "myapp.appspot.com"
var
string
$this
getFailureThreshold
Number of consecutive failed checks required before removing traffic.
int
setFailureThreshold
Number of consecutive failed checks required before removing traffic.
var
int
$this
getSuccessThreshold
Number of consecutive successful checks required before receiving traffic.
int
setSuccessThreshold
Number of consecutive successful checks required before receiving traffic.
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
getAppStartTimeout
A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
hasAppStartTimeout
clearAppStartTimeout
setAppStartTimeout
A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
$this