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 webpage provides reference documentation for the \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e class within the Google.Cloud.Compute.V1 API, specifically version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used for defining per-zone constraints on location policies in the Compute Engine v1 API, and it implements several 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 latest version of this section is version 3.6.0, but the documentation on this webpage goes all the way back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e has two properties: \u003ccode\u003eHasMaxCount\u003c/code\u003e, a boolean, which checks if the field 'max_count' is set, and \u003ccode\u003eMaxCount\u003c/code\u003e, an integer representing the maximum number of items allowed in a given zone.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be constructed with a parameterless constructor or can be passed another \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e object as a parameter, which is used in a copy constructor implementation.\u003c/p\u003e\n"]]],[],null,[]]