public sealed class ListConstraint : IMessage<AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint>, IEquatable<AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint>, IDeepCloneable<AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint.
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."],[[["\u003cp\u003eThe content provides documentation for the \u003ccode\u003eListConstraint\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API, specifically for the .NET environment, covering versions from 2.7.0 to 3.12.0 with 3.12.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eListConstraint\u003c/code\u003e is a type of \u003ccode\u003eConstraint\u003c/code\u003e that manages a list of string values that are allowed or disallowed by an organization's policy, which would be set by the policy administrator.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eListConstraint\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which are all in relation to its role in managing constraints and adhering to Google Cloud Protocol Buffer.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListConstraint\u003c/code\u003e class supports two properties, \u003ccode\u003eSupportsIn\u003c/code\u003e and \u003ccode\u003eSupportsUnder\u003c/code\u003e, which determine whether category-based or hierarchy-based values can be used within \u003ccode\u003ePolicy.allowed_values\u003c/code\u003e and \u003ccode\u003ePolicy.denied_values\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes the availability of two constructors \u003ccode\u003eListConstraint()\u003c/code\u003e and \u003ccode\u003eListConstraint(AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint other)\u003c/code\u003e to create instances.\u003c/p\u003e\n"]]],[],null,[]]