public sealed class LocationPolicyLocationConstraints : IMessage<LocationPolicyLocationConstraints>, IEquatable<LocationPolicyLocationConstraints>, IDeepCloneable<LocationPolicyLocationConstraints>, IBufferMessage, IMessage
Per-zone constraints on location policy for this zone.
Implements
IMessage<LocationPolicyLocationConstraints>, IEquatable<LocationPolicyLocationConstraints>, IDeepCloneable<LocationPolicyLocationConstraints>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
LocationPolicyLocationConstraints()
public LocationPolicyLocationConstraints()
LocationPolicyLocationConstraints(LocationPolicyLocationConstraints)
public LocationPolicyLocationConstraints(LocationPolicyLocationConstraints other)
Parameter | |
---|---|
Name | Description |
other | LocationPolicyLocationConstraints |
Properties
HasMaxCount
public bool HasMaxCount { get; }
Gets whether the "max_count" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
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 | |
---|---|
Type | Description |
Int32 |