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\u003eThe latest version of the \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e documentation is 3.6.0, with a range of versions from 1.0.0 to 3.6.0 provided.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e, is a configuration for a built-in load balancing policy within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, supporting various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e class has a \u003ccode\u003eName\u003c/code\u003e property to define the locality load balancer policy, with support for predefined policies like \u003ccode\u003eROUND_ROBIN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating new instances of \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e, including a constructor for creating a copy of an existing instance.\u003c/p\u003e\n"]]],[],null,[]]