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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e class is 3.6.0, which can be found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e class is a part of the Compute Engine v1 API and provides per-zone constraints on location policy.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e has two constructors, a default one and one that takes another \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e object as input, as well as a \u003ccode\u003eMaxCount\u003c/code\u003e property, which describes the number of allowed items in the zone, and a \u003ccode\u003eHasMaxCount\u003c/code\u003e boolean field.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e inherits members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]