public sealed class Constraint.Types.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 Policy administrator with a policy.
Implements
IMessageConstraintTypesListConstraint, IEquatableConstraintTypesListConstraint, IDeepCloneableConstraintTypesListConstraint, IBufferMessage, IMessageNamespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Constructors
ListConstraint()
public ListConstraint()
ListConstraint(ListConstraint)
public ListConstraint(Constraint.Types.ListConstraint other)
Parameter | |
---|---|
Name | Description |
other |
ConstraintTypesListConstraint |
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 the 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 |