Google Cloud Appengine Admin V1 Client - Class ReadinessCheck (1.1.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Protobuf\Duration

Interval between health checks.

↳ timeout Google\Protobuf\Duration

Time before the check is considered failed.

↳ 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.

Returns
TypeDescription
string

setPath

The request path.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHost

Host header to send when performing a HTTP Readiness check.

Example: "myapp.appspot.com"

Returns
TypeDescription
string

setHost

Host header to send when performing a HTTP Readiness check.

Example: "myapp.appspot.com"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFailureThreshold

Number of consecutive failed checks required before removing traffic.

Returns
TypeDescription
int

setFailureThreshold

Number of consecutive failed checks required before removing traffic.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSuccessThreshold

Number of consecutive successful checks required before receiving traffic.

Returns
TypeDescription
int

setSuccessThreshold

Number of consecutive successful checks required before receiving traffic.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCheckInterval

Interval between health checks.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasCheckInterval

clearCheckInterval

setCheckInterval

Interval between health checks.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getTimeout

Time before the check is considered failed.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasTimeout

clearTimeout

setTimeout

Time before the check is considered failed.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$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.

Returns
TypeDescription
Google\Protobuf\Duration|null

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.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this