Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::LocationPolicyLocationConstraints (v2.0.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::LocationPolicyLocationConstraints.

Per-zone constraints on location policy for this zone.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_count

def max_count() -> ::Integer
Returns
  • (::Integer) — Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.

#max_count=

def max_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.
Returns
  • (::Integer) — Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.