GoogleCloudSecuritypostureV1PolicyRule class
A rule that defines the allowed and denied values for an organization policy constraint.
Constructors
-
GoogleCloudSecuritypostureV1PolicyRule.new({bool? allowAll, Expr? condition, bool? denyAll, bool? enforce, Map<
String, Object?> ? parameters, ResourceTypes? resourceTypes, GoogleCloudSecuritypostureV1PolicyRuleStringValues? values}) - GoogleCloudSecuritypostureV1PolicyRule.fromJson(Map json_)
Properties
- allowAll ↔ bool?
-
Whether to allow any value for a list constraint.
getter/setter pair
- condition ↔ Expr?
-
A condition that determines whether this rule is used to evaluate the
policy.
getter/setter pair
- denyAll ↔ bool?
-
Whether to deny all values for a list constraint.
getter/setter pair
- enforce ↔ bool?
-
Whether to enforce the constraint.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parameters
↔ Map<
String, Object?> ? -
Required for managed constraints if parameters are defined.
getter/setter pair
- resourceTypes ↔ ResourceTypes?
-
The resource types policies can support, only used for managed
constraints.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- values ↔ GoogleCloudSecuritypostureV1PolicyRuleStringValues?
-
The allowed and denied values for a list constraint.
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