Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::LivenessCheck.
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#check_interval
def check_interval() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Interval between health checks.
#check_interval=
def check_interval=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Interval between health checks.
Returns
- (::Google::Protobuf::Duration) — Interval between health checks.
#failure_threshold
def failure_threshold() -> ::Integer
Returns
- (::Integer) — Number of consecutive failed checks required before considering the VM unhealthy.
#failure_threshold=
def failure_threshold=(value) -> ::Integer
Parameter
- value (::Integer) — Number of consecutive failed checks required before considering the VM unhealthy.
Returns
- (::Integer) — Number of consecutive failed checks required before considering the VM unhealthy.
#host
def host() -> ::String
Returns
- (::String) — Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
#host=
def host=(value) -> ::String
Parameter
- value (::String) — Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
Returns
- (::String) — Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
#initial_delay
def initial_delay() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The initial delay before starting to execute the checks.
#initial_delay=
def initial_delay=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The initial delay before starting to execute the checks.
Returns
- (::Google::Protobuf::Duration) — The initial delay before starting to execute the checks.
#path
def path() -> ::String
Returns
- (::String) — The request path.
#path=
def path=(value) -> ::String
Parameter
- value (::String) — The request path.
Returns
- (::String) — The request path.
#success_threshold
def success_threshold() -> ::Integer
Returns
- (::Integer) — Number of consecutive successful checks required before considering the VM healthy.
#success_threshold=
def success_threshold=(value) -> ::Integer
Parameter
- value (::Integer) — Number of consecutive successful checks required before considering the VM healthy.
Returns
- (::Integer) — Number of consecutive successful checks required before considering the VM healthy.
#timeout
def timeout() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Time before the check is considered failed.
#timeout=
def timeout=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Time before the check is considered failed.
Returns
- (::Google::Protobuf::Duration) — Time before the check is considered failed.