class Google::Apis::AppengineV1beta::LivenessCheck
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Attributes
Interval between health checks. Corresponds to the JSON property `checkInterval` @return [String]
Number of consecutive failed checks required before considering the VM unhealthy. Corresponds to the JSON property `failureThreshold` @return [Fixnum]
Host header to send when performing a HTTP Liveness check. Example: “myapp. appspot.com” Corresponds to the JSON property `host` @return [String]
The initial delay before starting to execute the checks. Corresponds to the JSON property `initialDelay` @return [String]
The request path. Corresponds to the JSON property `path` @return [String]
Number of consecutive successful checks required before considering the VM healthy. Corresponds to the JSON property `successThreshold` @return [Fixnum]
Time before the check is considered failed. Corresponds to the JSON property `timeout` @return [String]
Public Class Methods
# File lib/google/apis/appengine_v1beta/classes.rb, line 1823 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/appengine_v1beta/classes.rb, line 1828 def update!(**args) @check_interval = args[:check_interval] if args.key?(:check_interval) @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold) @host = args[:host] if args.key?(:host) @initial_delay = args[:initial_delay] if args.key?(:initial_delay) @path = args[:path] if args.key?(:path) @success_threshold = args[:success_threshold] if args.key?(:success_threshold) @timeout = args[:timeout] if args.key?(:timeout) end