Class HealthStatusAggregationPolicy (1.18.0)

HealthStatusAggregationPolicy(value)

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.

Values: UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY (0): A value indicating that the enum field is not set. AND (64951): 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. NO_AGGREGATION (426445124): An EndpointHealth message is returned for each backend in the health check service.