public sealed class BackendServiceLocalityLoadBalancingPolicyConfigPolicy : IMessage<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IEquatable<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IDeepCloneable<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IBufferMessage, IMessage
The configuration for a built-in load balancing policy.
Implements
IMessage<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IEquatable<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IDeepCloneable<BackendServiceLocalityLoadBalancingPolicyConfigPolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
BackendServiceLocalityLoadBalancingPolicyConfigPolicy()
public BackendServiceLocalityLoadBalancingPolicyConfigPolicy()
BackendServiceLocalityLoadBalancingPolicyConfigPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy)
public BackendServiceLocalityLoadBalancingPolicyConfigPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy other)
Parameter | |
---|---|
Name | Description |
other | BackendServiceLocalityLoadBalancingPolicyConfigPolicy |
Properties
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |