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 comprehensive list of previous versions ranging down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e enum defines how results from multiple health checks for the same endpoint are aggregated within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThere are two policies: \u003ccode\u003eNO_AGGREGATION\u003c/code\u003e, which returns an EndpointHealth message for each backend, and \u003ccode\u003eAND\u003c/code\u003e, which returns UNHEALTHY if any health check fails and HEALTHY if all pass.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedHealthStatusAggregationPolicy\u003c/code\u003e field indicates that the enum field has not been assigned a specific value.\u003c/p\u003e\n"],["\u003cp\u003eThis is all found within the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e in the assembly \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]