Class BalancingMode (1.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
BalancingMode(value)
Specifies how to determine whether the backend of a load
balancer can handle additional traffic or is fully loaded. For
usage guidelines, see Connection balancing mode.
Backends must use compatible balancing modes. For more
information, see Supported balancing modes and target capacity
settings and Restrictions and guidance for instance groups.
Note: Currently, if you use the API to configure incompatible
balancing modes, the configuration might be accepted even though
it has no impact and is ignored. Specifically,
Backend.maxUtilization is ignored when Backend.balancingMode is
RATE. In the future, this incompatible combination will be
rejected.
Enums
Name
Description
UNDEFINED_BALANCING_MODE
A value indicating that the enum field is not set.
CONNECTION
Balance based on the number of simultaneous connections.
CUSTOM_METRICS
Based on custom defined and reported metrics.
IN_FLIGHT
Balance based on the number of in-flight requests.
[[["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 2026-06-03 UTC."],[],[]]