# Class BackendServiceLocalityLoadBalancingPolicyConfig (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

Container for either a built-in LB policy supported by gRPC
or Envoy or a custom one implemented by the end user.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `custom_policy` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy` This field is a member of `oneof`_ `_custom_policy`. |
| `policy` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BackendServiceLocalityLoadBalancingPolicyConfigPolicy` This field is a member of `oneof`_ `_policy`. |