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 information for the `Constraint.Types.ListConstraint` class within the Google Cloud Organization Policy v2 API, specifically version 2.5.0."],["The `ListConstraint` class represents a constraint that permits or restricts a list of string values, configurable by an Organization Policy administrator."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, supporting functionalities such as message handling, equality checks, deep cloning, and buffer management."],["Key properties of `ListConstraint` include `SupportsIn`, which determines whether categorized values are allowed, and `SupportsUnder`, which allows for subtree matching in resource hierarchy within policies."],["The document covers versions of this class ranging from 1.0.0 to the latest 2.7.0, with downloadable links to the documentation for each version."]]],[]]