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 webpage details the `ListConstraint` class, a component of the Google Cloud Org Policy V2 used for managing string value lists within organization policies."],["The `ListConstraint` class allows administrators to specify lists of allowed or denied string values, which are then enforced by the organization's policy."],["The page lists available versions of this class, ranging from 1.0.0 to the latest version 2.7.0, along with the links to the detailed documentation for each."],["The `ListConstraint` class allows values grouped into categories and subtrees of Cloud Resource Manager resource hierarchy to be used within policies."],["The `ListConstraint` class inherits from the base class Object, and it implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."]]],[]]