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 the \u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e is 3.6.0, which can be found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis document lists multiple past versions of the \u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e, including versions ranging from 1.0.0 to 3.5.0, along with the most recent version, allowing for review of historical iterations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e enum defines how results from multiple health checks for a single endpoint are aggregated, offering options for \u003ccode\u003eNO_AGGREGATION\u003c/code\u003e and \u003ccode\u003eAND\u003c/code\u003e policies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e has three defined fields: \u003ccode\u003eAnd\u003c/code\u003e, \u003ccode\u003eNoAggregation\u003c/code\u003e, and \u003ccode\u003eUndefinedHealthStatusAggregationPolicy\u003c/code\u003e, each with their own descriptions.\u003c/p\u003e\n"]]],[],null,[]]