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 versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis enum type defines the \u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e for the Compute Engine v1 API, used within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe enum provides options for \u003ccode\u003eAND\u003c/code\u003e aggregation, where any unhealthy backend results in an unhealthy overall state, and \u003ccode\u003eNO_AGGREGATION\u003c/code\u003e, which returns individual endpoint health messages.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedHealthStatusAggregationPolicy\u003c/code\u003e field shows when the enum is not set.\u003c/p\u003e\n"],["\u003cp\u003eThe assembly for the enum is contained within \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]