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 Google.Cloud.Compute.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis webpage provides reference documentation and code samples for the Compute Engine v1 API class \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e, offering multiple versions from 1.0.0 up to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e 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, and is used for per-zone constraints on location policy.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eHasMaxCount\u003c/code\u003e, which checks if the max_count field is set, and \u003ccode\u003eMaxCount\u003c/code\u003e, which defines the maximum allowed items in a zone, having a non-negative value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e has two constructors: a parameterless one and another with a \u003ccode\u003eLocationPolicyLocationConstraints\u003c/code\u003e object as the argument, allowing for object duplication.\u003c/p\u003e\n"]]],[],null,[]]