Optional. The percentage threshold that a load balancer will begin to
send traffic to failover backends. If the percentage of endpoints in a
MIG/NEG is smaller than this value, traffic would be sent to failover
backends if possible. This field should be set to a value between 1
and 99. The default value is 50 for Global external HTTP(S) load balancer
(classic) and Proxyless service mesh, and 70 for others.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface ServiceLbPolicy.FailoverConfigOrBuilder (0.28.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.28.0 (latest)](/java/docs/reference/google-cloud-networkservices/latest/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-networkservices/0.26.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-networkservices/0.24.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-networkservices/0.23.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-networkservices/0.20.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-networkservices/0.19.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-networkservices/0.18.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-networkservices/0.16.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-networkservices/0.15.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-networkservices/0.14.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-networkservices/0.13.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-networkservices/0.12.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-networkservices/0.11.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-networkservices/0.10.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-networkservices/0.9.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-networkservices/0.8.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-networkservices/0.7.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-networkservices/0.5.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-networkservices/0.4.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-networkservices/0.3.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-networkservices/0.2.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-networkservices/0.1.0/com.google.cloud.networkservices.v1.ServiceLbPolicy.FailoverConfigOrBuilder) \n\n public static interface ServiceLbPolicy.FailoverConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getFailoverHealthThreshold()\n\n public abstract int getFailoverHealthThreshold()\n\nOptional. The percentage threshold that a load balancer will begin to\nsend traffic to failover backends. If the percentage of endpoints in a\nMIG/NEG is smaller than this value, traffic would be sent to failover\nbackends if possible. This field should be set to a value between 1\nand 99. The default value is 50 for Global external HTTP(S) load balancer\n(classic) and Proxyless service mesh, and 70 for others.\n\n`int32 failover_health_threshold = 1 [(.google.api.field_behavior) = OPTIONAL];`"]]