public sealed class BackendServiceLocalityLoadBalancingPolicyConfigPolicy : IMessage<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IEquatable<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IDeepCloneable<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class BackendServiceLocalityLoadBalancingPolicyConfigPolicy.
The configuration for a built-in load balancing policy.
The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is 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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e class within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe content covers multiple versions of the API, ranging from version 1.0.0 to the latest version 3.6.0, showing the progression and history of this class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e class is used to configure a built-in load balancing policy and it implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eHasName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, with the \u003ccode\u003eName\u003c/code\u003e property being used to set the load balancing policy (e.g., \u003ccode\u003eROUND_ROBIN\u003c/code\u003e, \u003ccode\u003eLEAST_REQUEST\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on the class's constructors, inherited members, namespace, and the assembly it is located in, offering comprehensive information for developers.\u003c/p\u003e\n"]]],[],null,[]]