Reference documentation and code samples for the Compute V1 Client class LocationPolicyLocationConstraints.
Per-zone constraints on location policy for this zone.
Generated from protobuf message google.cloud.compute.v1.LocationPolicyLocationConstraints
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ max_count |
int
Maximum number of items that are allowed to be placed in this zone. The value must be non-negative. |
getMaxCount
Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.
Generated from protobuf field optional int32 max_count = 287620724;
Returns | |
---|---|
Type | Description |
int |
hasMaxCount
clearMaxCount
setMaxCount
Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.
Generated from protobuf field optional int32 max_count = 287620724;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |