3.14.0 (latest) 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0

    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`.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AnalyzerOrgPolicyConstraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.md.txt)[Constraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.Types.md.txt)[ListConstraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AnalyzerOrgPolicyConstraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.md.txt)[Constraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.Types.md.txt)[ListConstraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AnalyzerOrgPolicyConstraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.md.txt)[Constraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.Types.md.txt)[ListConstraint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Asset.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.md.txt)

## Assembly

Google.Cloud.Asset.V1.dll

## Constructors

### ListConstraint()

    public ListConstraint()

### ListConstraint(ListConstraint)

    public ListConstraint(AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `AnalyzerOrgPolicyConstraintTypesConstraintTypesListConstraint` |

## Properties

### SupportsIn

    public bool SupportsIn { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### SupportsUnder

    public bool SupportsUnder { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |