Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::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.
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.
 
#disable_health_check
def disable_health_check() -> ::Boolean Returns 
 - (::Boolean) — Whether to explicitly disable health checks for this instance.
 
#disable_health_check=
def disable_health_check=(value) -> ::Boolean Parameter 
 - value (::Boolean) — Whether to explicitly disable health checks for this instance.
 
 Returns 
 - (::Boolean) — Whether to explicitly disable health checks for this instance.
 
#healthy_threshold
def healthy_threshold() -> ::Integer Returns 
 - (::Integer) — Number of consecutive successful health checks required before receiving traffic.
 
#healthy_threshold=
def healthy_threshold=(value) -> ::Integer Parameter 
 - value (::Integer) — Number of consecutive successful health checks required before receiving traffic.
 
 Returns 
 - (::Integer) — Number of consecutive successful health checks required before receiving traffic.
 
#host
def host() -> ::String Returns 
 - (::String) — Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
 
#host=
def host=(value) -> ::String Parameter 
 - value (::String) — Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
 
 Returns 
 - (::String) — Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
 
#restart_threshold
def restart_threshold() -> ::Integer Returns 
 - (::Integer) — Number of consecutive failed health checks required before an instance is restarted.
 
#restart_threshold=
def restart_threshold=(value) -> ::Integer Parameter 
 - value (::Integer) — Number of consecutive failed health checks required before an instance is restarted.
 
 Returns 
 - (::Integer) — Number of consecutive failed health checks required before an instance is restarted.
 
#timeout
def timeout() -> ::Google::Protobuf::Duration Returns 
 - (::Google::Protobuf::Duration) — Time before the health check is considered failed.
 
#timeout=
def timeout=(value) -> ::Google::Protobuf::Duration Parameter 
 - value (::Google::Protobuf::Duration) — Time before the health check is considered failed.
 
 Returns 
 - (::Google::Protobuf::Duration) — Time before the health check is considered failed.
 
#unhealthy_threshold
def unhealthy_threshold() -> ::Integer Returns 
 - (::Integer) — Number of consecutive failed health checks required before removing traffic.
 
#unhealthy_threshold=
def unhealthy_threshold=(value) -> ::Integer Parameter 
 - value (::Integer) — Number of consecutive failed health checks required before removing traffic.
 
 Returns 
 - (::Integer) — Number of consecutive failed health checks required before removing traffic.