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.
Implements
IMessageBackendServiceLocalityLoadBalancingPolicyConfigPolicy, IEquatableBackendServiceLocalityLoadBalancingPolicyConfigPolicy, IDeepCloneableBackendServiceLocalityLoadBalancingPolicyConfigPolicy, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
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 |
bool |
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 |