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-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. Check the Name enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |