LivenessCheckResponse constructor
const
LivenessCheckResponse({})
Creates a new LivenessCheckResponse.
checkInterval Interval between health checks.
failureThreshold Number of consecutive failed checks required before considering the VM unhealthy.
host Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
initialDelay The initial delay before starting to execute the checks.
path The request path.
successThreshold Number of consecutive successful checks required before considering the VM healthy.
timeout Time before the check is considered failed.
Implementation
const LivenessCheckResponse({
required this.checkInterval,
required this.failureThreshold,
required this.host,
required this.initialDelay,
required this.path,
required this.successThreshold,
required this.timeout,
});