Organization Policy v2 API - Class Constraint.Types.ListConstraint (2.2.0)

public sealed class 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's policy administrator with a Policy.

Inheritance

Object > Constraint.Types.ListConstraint

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

ListConstraint()

public ListConstraint()

ListConstraint(Constraint.Types.ListConstraint)

public ListConstraint(Constraint.Types.ListConstraint other)
Parameter
NameDescription
otherConstraint.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