GoogleCloudOrgpolicyV2PolicySpecPolicyRule class
A rule used to express this policy.
Constructors
- GoogleCloudOrgpolicyV2PolicySpecPolicyRule({bool? allowAll, GoogleTypeExpr? condition, bool? denyAll, bool? enforce, GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues? values})
- GoogleCloudOrgpolicyV2PolicySpecPolicyRule.fromJson(Map json_)
Properties
- allowAll ↔ bool?
-
Setting this to true means that all values are allowed.
getter/setter pair
- condition ↔ GoogleTypeExpr?
-
A condition which determines whether this rule is used in the evaluation
of the policy.
getter/setter pair
- denyAll ↔ bool?
-
Setting this to true means that all values are denied.
getter/setter pair
- enforce ↔ bool?
-
If
true
, then the policy is enforced.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- values ↔ GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues?
-
List of values to be used for this policy rule.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited