class Google::Apis::AppengineV1beta4::HealthCheck
Configure health checking for the VM instances. Unhealthy VM instances will be killed and replaced with new instances.
Attributes
The 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]
The number of consecutive successful health checks before receiving traffic. Corresponds to the JSON property `healthyThreshold` @return [Fixnum]
The host header to send when performing an HTTP health check (e.g. myapp. appspot.com) Corresponds to the JSON property `host` @return [String]
The number of consecutive failed health checks before an instance is restarted. Corresponds to the JSON property `restartThreshold` @return [Fixnum]
The amount of time before the health check is considered failed. Corresponds to the JSON property `timeout` @return [String]
The number of consecutive failed health checks before removing traffic. Corresponds to the JSON property `unhealthyThreshold` @return [Fixnum]
Public Class Methods
# File generated/google/apis/appengine_v1beta4/classes.rb, line 1049 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/appengine_v1beta4/classes.rb, line 1054 def update!(**args) @disable_health_check = args[:disable_health_check] if args.key?(:disable_health_check) @host = args[:host] if args.key?(:host) @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold) @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold) @restart_threshold = args[:restart_threshold] if args.key?(:restart_threshold) @check_interval = args[:check_interval] if args.key?(:check_interval) @timeout = args[:timeout] if args.key?(:timeout) end