Class: Google::Cloud::AppEngine::V1::LivenessCheck
- Inherits:
-
Object
- Object
- Google::Cloud::AppEngine::V1::LivenessCheck
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/appengine/v1/app_yaml.rb
Overview
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Instance Attribute Summary collapse
-
#check_interval ⇒ ::Google::Protobuf::Duration
Interval between health checks.
-
#failure_threshold ⇒ ::Integer
Number of consecutive failed checks required before considering the VM unhealthy.
-
#host ⇒ ::String
Host header to send when performing a HTTP Liveness check.
-
#initial_delay ⇒ ::Google::Protobuf::Duration
The initial delay before starting to execute the checks.
-
#path ⇒ ::String
The request path.
-
#success_threshold ⇒ ::Integer
Number of consecutive successful checks required before considering the VM healthy.
-
#timeout ⇒ ::Google::Protobuf::Duration
Time before the check is considered failed.
Instance Attribute Details
#check_interval ⇒ ::Google::Protobuf::Duration
Returns Interval between health checks.
301 302 303 304 |
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301 class LivenessCheck include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#failure_threshold ⇒ ::Integer
Returns Number of consecutive failed checks required before considering the VM unhealthy.
301 302 303 304 |
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301 class LivenessCheck include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#host ⇒ ::String
Returns Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com".
301 302 303 304 |
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301 class LivenessCheck include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#initial_delay ⇒ ::Google::Protobuf::Duration
Returns The initial delay before starting to execute the checks.
301 302 303 304 |
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301 class LivenessCheck include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#path ⇒ ::String
Returns The request path.
301 302 303 304 |
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301 class LivenessCheck include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#success_threshold ⇒ ::Integer
Returns Number of consecutive successful checks required before considering the VM healthy.
301 302 303 304 |
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301 class LivenessCheck include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#timeout ⇒ ::Google::Protobuf::Duration
Returns Time before the check is considered failed.
301 302 303 304 |
# File 'proto_docs/google/appengine/v1/app_yaml.rb', line 301 class LivenessCheck include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |