class Google::Apis::AppengineV1beta::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.
Attributes
Interval between health checks. Corresponds to the JSON property `checkInterval` @return [String]
Whether to explicitly disable health checks for this instance. Corresponds to the JSON property `disableHealthCheck` @return [Boolean]
Whether to explicitly disable health checks for this instance. Corresponds to the JSON property `disableHealthCheck` @return [Boolean]
Number of consecutive successful health checks required before receiving traffic. Corresponds to the JSON property `healthyThreshold` @return [Fixnum]
Host header to send when performing an HTTP health check. Example: “myapp. appspot.com” Corresponds to the JSON property `host` @return [String]
Number of consecutive failed health checks required before an instance is restarted. Corresponds to the JSON property `restartThreshold` @return [Fixnum]
Time before the health check is considered failed. Corresponds to the JSON property `timeout` @return [String]
Number of consecutive failed health checks required before removing traffic. Corresponds to the JSON property `unhealthyThreshold` @return [Fixnum]
Public Class Methods
# File lib/google/apis/appengine_v1beta/classes.rb, line 1346 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/appengine_v1beta/classes.rb, line 1351 def update!(**args) @check_interval = args[:check_interval] if args.key?(:check_interval) @disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check) @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold) @host = args[:host] if args.key?(:host) @restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold) @timeout = args[:timeout] if args.key?(:timeout) @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold) end