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\u003eThis webpage provides reference documentation for the \u003ccode\u003eHealthCheckService.Types.HealthStatusAggregationPolicy\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of the API, ranging from version 1.0.0 to the latest version, 3.6.0, with links to specific documentation pages for each version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHealthStatusAggregationPolicy\u003c/code\u003e enum defines how the results from multiple health checks for the same endpoint are aggregated, with options for \u003ccode\u003eNO_AGGREGATION\u003c/code\u003e or \u003ccode\u003eAND\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNO_AGGREGATION\u003c/code\u003e policy returns an \u003ccode\u003eEndpointHealth\u003c/code\u003e message for each backend, while the \u003ccode\u003eAND\u003c/code\u003e policy returns \u003ccode\u003eUNHEALTHY\u003c/code\u003e if any health check reports unhealthy, otherwise it returns \u003ccode\u003eHEALTHY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also includes information about the \u003ccode\u003eUndefinedHealthStatusAggregationPolicy\u003c/code\u003e field, indicating that the enum field is not set.\u003c/p\u003e\n"]]],[],null,[]]