Compute Engine v1 API - Class LocationPolicyLocationConstraints (2.8.0)

public sealed class LocationPolicyLocationConstraints : IMessage<LocationPolicyLocationConstraints>, IEquatable<LocationPolicyLocationConstraints>, IDeepCloneable<LocationPolicyLocationConstraints>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class LocationPolicyLocationConstraints.

Per-zone constraints on location policy for this zone.

Inheritance

object > LocationPolicyLocationConstraints

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

LocationPolicyLocationConstraints()

public LocationPolicyLocationConstraints()

LocationPolicyLocationConstraints(LocationPolicyLocationConstraints)

public LocationPolicyLocationConstraints(LocationPolicyLocationConstraints other)
Parameter
NameDescription
otherLocationPolicyLocationConstraints

Properties

HasMaxCount

public bool HasMaxCount { get; }

Gets whether the "max_count" field is set

Property Value
TypeDescription
bool

MaxCount

public int MaxCount { get; set; }

Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.

Property Value
TypeDescription
int