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\u003eThis webpage provides reference documentation for the \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, spanning versions from 1.0.0 to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e class defines per-zone constraints for location policies, handling restrictions on item placement.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, showcasing its integration with the Google Protobuf library.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eHasMaxCount\u003c/code\u003e (a boolean indicating if max_count is set) and \u003ccode\u003eMaxCount\u003c/code\u003e (an integer defining the maximum number of allowed items).\u003c/p\u003e\n"],["\u003cp\u003eIt also provides multiple constructors for the \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]