public sealed class ListConstraint : IMessage<Constraint.Types.ListConstraint>, IEquatable<Constraint.Types.ListConstraint>, IDeepCloneable<Constraint.Types.ListConstraint>, IBufferMessage, IMessage
A Constraint
that allows or disallows a list of string values, which are
configured by an Organization's policy administrator with a Policy
.
Implements
IMessage<Constraint.Types.ListConstraint>, IEquatable<Constraint.Types.ListConstraint>, IDeepCloneable<Constraint.Types.ListConstraint>, IBufferMessage, IMessageNamespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Constructors
ListConstraint()
public ListConstraint()
ListConstraint(Constraint.Types.ListConstraint)
public ListConstraint(Constraint.Types.ListConstraint other)
Parameter | |
---|---|
Name | Description |
other | 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,
"in:Python"
would match any value in the 'Python' group.
Property Value | |
---|---|
Type | Description |
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, "under:folders/123"
would match any resource under the
'folders/123' folder.
Property Value | |
---|---|
Type | Description |
Boolean |