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 Organization Policy V2 used for managing string value lists within organizational policies."],["The `ListConstraint` class is part of the `Google.Cloud.OrgPolicy.V2` namespace and is defined in the `Google.Cloud.OrgPolicy.V2.dll` assembly."],["It is designed to allow organization policy administrators to define allowed or disallowed string values in `Policy`, and it provides methods for constructing instances via a default constructor or copy constructor."],["`ListConstraint` supports managing values grouped into categories (using `SupportsIn`) and subtrees of the Cloud Resource Manager resource hierarchy (using `SupportsUnder`) in `Policy.allowed_values` and `Policy.denied_values`."],["This documentation provides links to various versions of the `ListConstraint` class, from 1.0.0 up to 2.7.0, with 2.7.0 being the latest."]]],[]]