class Google::Apis::AppengineV1::ReadinessCheck

Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.

Attributes

app_start_timeout[RW]

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]

check_interval[RW]

Interval between health checks. Corresponds to the JSON property `checkInterval` @return [String]

failure_threshold[RW]

Number of consecutive failed checks required before removing traffic. Corresponds to the JSON property `failureThreshold` @return [Fixnum]

host[RW]

Host header to send when performing a HTTP Readiness check. Example: “myapp. appspot.com” Corresponds to the JSON property `host` @return [String]

path[RW]

The request path. Corresponds to the JSON property `path` @return [String]

success_threshold[RW]

Number of consecutive successful checks required before receiving traffic. Corresponds to the JSON property `successThreshold` @return [Fixnum]

timeout[RW]

Time before the check is considered failed. Corresponds to the JSON property `timeout` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1/classes.rb, line 2310
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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