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\u003eThe latest version available for \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e is 3.6.0, with a history of versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e is a class within the Google.Cloud.Compute.V1 API, specifically in the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e and in the assembly \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed for configuring a built-in load balancing policy and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers a constructor \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e which can take another instance of the class to copy its values, and it has a \u003ccode\u003eName\u003c/code\u003e property to set the load-balancing policy.\u003c/p\u003e\n"],["\u003cp\u003ethe \u003ccode\u003eName\u003c/code\u003e property allows you to set a \u003ccode\u003eROUND_ROBIN\u003c/code\u003e or \u003ccode\u003eLEAST_REQUEST\u003c/code\u003e (for Java Clients) load balancing policy.\u003c/p\u003e\n"]]],[],null,[]]