public sealed class BackendServiceLocalityLoadBalancingPolicyConfig : IMessage<BackendServiceLocalityLoadBalancingPolicyConfig>, IEquatable<BackendServiceLocalityLoadBalancingPolicyConfig>, IDeepCloneable<BackendServiceLocalityLoadBalancingPolicyConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class BackendServiceLocalityLoadBalancingPolicyConfig.
Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.
[[["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\u003eBackendServiceLocalityLoadBalancingPolicyConfig\u003c/code\u003e class within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is used to configure load balancing policies for backend services.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 3.6.0, and there is documentation available for previous versions going back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfig\u003c/code\u003e class allows for both built-in load balancing policies and custom policies, and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two properties, \u003ccode\u003eCustomPolicy\u003c/code\u003e and \u003ccode\u003ePolicy\u003c/code\u003e, which of type \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy\u003c/code\u003e and \u003ccode\u003eBackendServiceLocalityLoadBalancingPolicyConfigPolicy\u003c/code\u003e respectively, which are both used for configuring different policies.\u003c/p\u003e\n"]]],[],null,[]]