PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule class
Constructors
-
PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule({Input<
bool?> ? allowAll, Input<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleCondition?> ? condition, Input<bool?> ? denyAll, Input<bool?> ? enforce, Input<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValues?> ? values}) -
Creates a new PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule.
allowAllSetting this to true means that all values are allowed. This field can be set only in policies for list constraints.conditionRepresents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.denyAllSetting this to true means that all values are denied. This field can be set only in policies for list constraints.enforceIftrue, then the policy is enforced. Iffalse, then any configuration is acceptable.valuesList of values to be used for this policy rule. This field can be set only in policies for list constraints.const -
PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRule.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowAll
→ Input<
bool?> ? -
Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.
final
-
condition
→ Input<
PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleCondition?> ? -
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language.
This page details the objects and attributes that are used to the build the CEL expressions for
custom access levels - https://cloud.google.com/access-context-manager/docs/custom-access-level-spec.
Structure is documented below.
final
-
denyAll
→ Input<
bool?> ? -
Setting this to true means that all values are denied. This field can be set only in policies for list constraints.
final
-
enforce
→ Input<
bool?> ? -
If
true, then the policy is enforced. Iffalse, then any configuration is acceptable. This field can be set only in policies for boolean constraints.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Input<
PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValues?> ? -
List of values to be used for this policy rule. This field can be set only in policies for list constraints.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited