Reference documentation and code samples for the Compute V1 Client class 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.
Protobuf type google.cloud.compute.v1.Backend.BalancingMode
Namespace
Google \ Cloud \ Compute \ V1 \ BackendMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_BALANCING_MODE
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_BALANCING_MODE = 0;
CONNECTION
Value: 246311646
Balance based on the number of simultaneous connections.
Generated from protobuf enum CONNECTION = 246311646;
CUSTOM_METRICS
Value: 331575765
Based on custom defined and reported metrics.
Generated from protobuf enum CUSTOM_METRICS = 331575765;
RATE
Value: 2508000
Balance based on requests per second (RPS).
Generated from protobuf enum RATE = 2508000;
UTILIZATION
Value: 157008386
Balance based on the backend utilization.
Generated from protobuf enum UTILIZATION = 157008386;