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
.
Implements
IMessageAnalyzerOrgPolicyConstraintTypesConstraintTypesListConstraint, IEquatableAnalyzerOrgPolicyConstraintTypesConstraintTypesListConstraint, IDeepCloneableAnalyzerOrgPolicyConstraintTypesConstraintTypesListConstraint, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
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 |