Compute Engine v1 API - Class BackendServiceLocalityLoadBalancingPolicyConfigPolicy (2.9.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-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
TypeDescription
string