- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public enum BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Name extends Enum<BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Name> implements ProtocolMessageEnum
The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
Protobuf enum
google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Name
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
INVALID_LB_POLICY |
|
INVALID_LB_POLICY_VALUE |
|
LEAST_REQUEST | An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. |
LEAST_REQUEST_VALUE | An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. |
MAGLEV | This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 |
MAGLEV_VALUE | This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 |
ORIGINAL_DESTINATION | Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. |
ORIGINAL_DESTINATION_VALUE | Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. |
RANDOM | The load balancer selects a random healthy host. |
RANDOM_VALUE | The load balancer selects a random healthy host. |
RING_HASH | The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. |
RING_HASH_VALUE | The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. |
ROUND_ROBIN | This is a simple policy in which each healthy backend is selected in round robin order. This is the default. |
ROUND_ROBIN_VALUE | This is a simple policy in which each healthy backend is selected in round robin order. This is the default. |
UNDEFINED_NAME | A value indicating that the enum field is not set. |
UNDEFINED_NAME_VALUE | A value indicating that the enum field is not set. |
UNRECOGNIZED |
Static Methods
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |