Google Cloud Asset Inventory v1 API - Class AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint (3.4.0)

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.

Inheritance

Object > AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

ListConstraint()

public ListConstraint()

ListConstraint(AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint)

public ListConstraint(AnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint other)
Parameter
NameDescription
otherAnalyzerOrgPolicyConstraint.Types.Constraint.Types.ListConstraint

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, &quot;in:Python&quot; would match any value in the 'Python' group.

Property Value
TypeDescription
Boolean

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, &quot;under:folders/123&quot; would match any resource under the 'folders/123' folder.

Property Value
TypeDescription
Boolean