Compute Engine v1 API - Class BackendServiceLocalityLoadBalancingPolicyConfigPolicy (2.7.0)

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.

Inheritance

object > BackendServiceLocalityLoadBalancingPolicyConfigPolicy

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

BackendServiceLocalityLoadBalancingPolicyConfigPolicy()

public BackendServiceLocalityLoadBalancingPolicyConfigPolicy()

BackendServiceLocalityLoadBalancingPolicyConfigPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy)

public BackendServiceLocalityLoadBalancingPolicyConfigPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy other)
Parameter
NameDescription
otherBackendServiceLocalityLoadBalancingPolicyConfigPolicy

Properties

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
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
TypeDescription
string