Reference documentation and code samples for the Compute Engine v1 API enum HealthCheckService.Types.HealthStatusAggregationPolicy.
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService.
If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY.
NoAggregation
An EndpointHealth message is returned for each backend in the health check service.
UndefinedHealthStatusAggregationPolicy
A value indicating that the enum field is not set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eHealthCheckService.Types.HealthStatusAggregationPolicy\u003c/code\u003e is 3.6.0, with a history of versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e is an enum within the Google Compute Engine v1 API, specifically under the \u003ccode\u003eHealthCheckService.Types\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThere are three defined states within the \u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e enum: \u003ccode\u003eAnd\u003c/code\u003e, \u003ccode\u003eNoAggregation\u003c/code\u003e, and \u003ccode\u003eUndefinedHealthStatusAggregationPolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnd\u003c/code\u003e policy reports UNHEALTHY if any backend's health check is UNHEALTHY, and HEALTHY only if all backends are healthy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNoAggregation\u003c/code\u003e policy provides an \u003ccode\u003eEndpointHealth\u003c/code\u003e message for each backend in the health check service.\u003c/p\u003e\n"]]],[],null,[]]