Class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy (1.6.0)

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

The configuration for a custom policy implemented by the user and deployed with the client.

Attributes

NameDescription
data str
An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. This field is a member of `oneof`_ ``_data``.
name str
Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected. This field is a member of `oneof`_ ``_name``.

Inheritance

builtins.object > proto.message.Message > BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy