class Google::Apis::AppengineV1::ReadinessCheck
Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
Attributes
A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. Corresponds to the JSON property `appStartTimeout` @return [String]
Interval between health checks. Corresponds to the JSON property `checkInterval` @return [String]
Number of consecutive failed checks required before removing traffic. Corresponds to the JSON property `failureThreshold` @return [Fixnum]
Host header to send when performing a HTTP Readiness check. Example: “myapp. appspot.com” Corresponds to the JSON property `host` @return [String]
The request path. Corresponds to the JSON property `path` @return [String]
Number of consecutive successful checks required before receiving traffic. 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_v1/classes.rb, line 2310 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/appengine_v1/classes.rb, line 2315 def update!(**args) @app_start_timeout = args[:app_start_timeout] if args.key?(:app_start_timeout) @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) @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