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\u003eVersion 3.6.0 is the latest version available for the \u003ccode\u003eGoogle.Cloud.Compute.V1.LocationPolicyLocationConstraints\u003c/code\u003e class, which is part of the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e class provides per-zone constraints on location policy and is implemented using the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \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 offers two constructors: a default constructor and a copy constructor that takes another \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaxCount\u003c/code\u003e property, of type integer, specifies the maximum number of items allowed in a zone, and the property \u003ccode\u003eHasMaxCount\u003c/code\u003e, of type boolean, indicates if the \u003ccode\u003eMaxCount\u003c/code\u003e field is set.\u003c/p\u003e\n"]]],[],null,[]]