public sealed class BackendServiceLocalityLoadBalancingPolicyConfigPolicy : IMessage<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IEquatable<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IDeepCloneable<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IBufferMessage, IMessage
The configuration for a built-in load balancing policy.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This webpage provides documentation for the `BackendServiceLocalityLoadBalancingPolicyConfigPolicy` class within the Google.Cloud.Compute.V1 namespace, covering versions from 1.0.0 to 3.6.0, with 3.6.0 being the latest."],["The `BackendServiceLocalityLoadBalancingPolicyConfigPolicy` class is a configuration for built-in load balancing policies and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class inherits from the `Object` class and contains properties such as `HasName` (a boolean indicating if the \"name\" field is set) and `Name` (a string representing the locality load balancer policy name)."],["There are two constructors provided for `BackendServiceLocalityLoadBalancingPolicyConfigPolicy`: one default constructor and another that accepts another `BackendServiceLocalityLoadBalancingPolicyConfigPolicy` instance as a parameter."],["The `Name` property is crucial because it specifies the locality load balancer policy to be employed, and currently, only ROUND_ROBIN is supported, and it should only be used when the `customPolicy` field is not used."]]],[]]