public sealed class AnalyzerOrgPolicyConstraint.Types.Constraint.Types.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, which is part of the \u003ccode\u003eGoogle.Cloud.Asset.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eListConstraint\u003c/code\u003e class, derived from the object class, is designed to allow or disallow lists of string values, configurable by an organization's policy administrators through a \u003ccode\u003ePolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements various interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, signifying its role within the Google Protobuf framework for message handling and object management.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the class constructors, including a default constructor and a constructor for cloning existing \u003ccode\u003eListConstraint\u003c/code\u003e objects, and also mentions the inherited members and the properties of the class such as \u003ccode\u003eSupportsIn\u003c/code\u003e and \u003ccode\u003eSupportsUnder\u003c/code\u003e, which can be used to match values to categories or resources to Cloud Resource Manager subtrees, respectively.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the API are listed, ranging from 2.7.0 to 3.12.0 (latest), indicating an evolution and the current state of the \u003ccode\u003eListConstraint\u003c/code\u003e class in the API.\u003c/p\u003e\n"]]],[],null,[]]