class Google::Apis::ComputeV1::LocationPolicyLocationConstraints

Per-zone constraints on location policy for this zone.

Attributes

max_count[RW]

Maximum number of items that are allowed to be placed in this zone. The value must be non-negative. Corresponds to the JSON property `maxCount` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 18352
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 18357
def update!(**args)
  @max_count = args[:max_count] if args.key?(:max_count)
end