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."],[[["The `Constraint.Types.ListConstraint` class, part of the Organization Policy v2 API, defines constraints that allow or disallow lists of string values managed by an Organization Policy administrator."],["This class is found within the `Google.Cloud.OrgPolicy.V2` namespace and is implemented in the `Google.Cloud.OrgPolicy.V2.dll` assembly, with the current version being 2.6.0 and the latest version available at 2.7.0."],["It inherits from the base `object` class and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, ensuring it can handle message structures and cloning functionalities."],["The class provides properties like `SupportsIn` and `SupportsUnder`, which control whether values can be grouped into categories or if subtrees of the Resource Manager hierarchy can be utilized, respectively, offering flexibility in policy configuration."],["The `ListConstraint` class contains two constructors, `ListConstraint()` and `ListConstraint(Constraint.Types.ListConstraint other)`, to create new instances or copy from existing instances."]]],[]]