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 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"]],[["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 document provides reference documentation for the \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version for this class is 3.6.0, and it outlines available versions ranging from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e is used for configuring built-in load balancing policies and inherits from the Object class, while also implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\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, where the \u003ccode\u003eName\u003c/code\u003e property specifies the locality load balancer policy to be used, which should be one of the supported values.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the class : one empty constructor, and one that takes another instance of the same class as a parameter.\u003c/p\u003e\n"]]],[],null,[]]