public sealed class Constraint.Types.ListConstraint : IMessage<Constraint.Types.ListConstraint>, IEquatable<Constraint.Types.ListConstraint>, IDeepCloneable<Constraint.Types.ListConstraint>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class Constraint.Types.ListConstraint.
A constraint that allows or disallows a list of string values, which are
configured by an Organization Policy administrator with a policy.
Indicates whether values grouped into categories can be used in
Policy.allowed_values and Policy.denied_values. For example,
"in:Python" would match any value in the 'Python' group.
Indicates whether subtrees of the Resource Manager resource hierarchy
can be used in Policy.allowed_values and Policy.denied_values. For
example, "under:folders/123" would match any resource under the
'folders/123' folder.
[[["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-07 UTC."],[[["This document provides reference documentation for the `Constraint.Types.ListConstraint` class within the Organization Policy v2 API, specifically for version 2.3.0."],["`Constraint.Types.ListConstraint` is a class that allows or disallows a list of string values set by an Organization Policy administrator."],["This class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, showing it is part of a broader message-handling framework."],["The class has properties `SupportsIn` and `SupportsUnder`, which enable administrators to use categories and resource subtrees in `Policy.allowed_values` and `Policy.denied_values`."],["A list of the different versions of this same document is available, ranging from version 1.0.0 to the most recent version 2.7.0."]]],[]]