public sealed class ListConstraint : IMessage<Constraint.Types.ListConstraint>, IEquatable<Constraint.Types.ListConstraint>, IDeepCloneable<Constraint.Types.ListConstraint>, IBufferMessage, IMessage
A Constraint that allows or disallows a list of string values, which are
configured by an Organization's 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 Cloud 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 outlines the `ListConstraint` class, which is part of the Google Cloud Org Policy V2 and is used to manage string-based allow/deny lists within organization policies."],["The `ListConstraint` class is available in multiple versions, ranging from 1.0.0 to the latest 2.7.0, with this specific page detailing version 1.2.0."],["The `ListConstraint` class, implementing various interfaces like `IMessage`, `IEquatable`, and `IDeepCloneable`, inherits from `Object` and includes constructors for creating new instances and copying existing ones."],["Key properties of `ListConstraint` include `SupportsIn`, which allows values grouped into categories, and `SupportsUnder`, which allows the use of resource hierarchy subtrees in policy configurations."],["The `ListConstraint` enables organization policy administrators to define policies that permit or prohibit a list of string values, providing granular control over resources."]]],[]]