Reference documentation and code samples for the Compute Engine v1 API enum Backend.Types.BalancingMode.
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.
[[["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 \u003ccode\u003eGoogle.Cloud.Compute.V1.Backend.Types.BalancingMode\u003c/code\u003e is 3.6.0, and the documentation includes versions ranging from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers the \u003ccode\u003eBackend.Types.BalancingMode\u003c/code\u003e enum within the Compute Engine v1 API, outlining its function for load balancer backend traffic management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBalancingMode\u003c/code\u003e enum offers four fields: \u003ccode\u003eConnection\u003c/code\u003e (balancing based on simultaneous connections), \u003ccode\u003eRate\u003c/code\u003e (balancing based on RPS), \u003ccode\u003eUndefinedBalancingMode\u003c/code\u003e (indicating the field is not set), and \u003ccode\u003eUtilization\u003c/code\u003e (balancing based on backend utilization).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBalancingMode\u003c/code\u003e enum is designed to determine how a load balancer's backend handles additional traffic, providing different methods for balancing based on connection numbers, request rates, or backend utilization.\u003c/p\u003e\n"],["\u003cp\u003eIncompatible configurations using the API might be accepted currently but will be rejected in future updates, as noted with the combination of \u003ccode\u003eBackend.maxUtilization\u003c/code\u003e and \u003ccode\u003eBackend.balancingMode\u003c/code\u003e when set to \u003ccode\u003eRATE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]