Class BackendServiceLocalityLoadBalancingPolicyConfigPolicy (1.9.0)

BackendServiceLocalityLoadBalancingPolicyConfigPolicy(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The configuration for a built-in load balancing policy.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attribute

NameDescription
name str
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. Check the Name enum for the list of possible values. This field is a member of oneof_ _name.

Classes

Name

Name(value)

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.