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 information for the \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version for this class is 3.6.0, with numerous versions from 1.0.0 through to the latest being accessible via provided links.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e, handles configuration for built-in load balancing policies, inheriting from the \u003ccode\u003eObject\u003c/code\u003e class and implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eHasName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, where the \u003ccode\u003eName\u003c/code\u003e property allows for the configuration of a locality load balancer policy, with \u003ccode\u003eROUND_ROBIN\u003c/code\u003e being a supported value.\u003c/p\u003e\n"],["\u003cp\u003eThe document details two constructors for the class: a default constructor and one that takes another instance of the class as a parameter.\u003c/p\u003e\n"]]],[],null,[]]