PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs

data class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs(val allowAll: Output<Boolean>? = null, val condition: Output<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleConditionArgs>? = null, val denyAll: Output<Boolean>? = null, val enforce: Output<Boolean>? = null, val values: Output<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValuesArgs>? = null) : ConvertibleToJava<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs>

Constructors

constructor(allowAll: Output<Boolean>? = null, condition: Output<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleConditionArgs>? = null, denyAll: Output<Boolean>? = null, enforce: Output<Boolean>? = null, values: Output<PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleValuesArgs>? = null)

Properties

Link copied to clipboard
val allowAll: Output<Boolean>? = null

Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.

Link copied to clipboard

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.

Link copied to clipboard
val denyAll: Output<Boolean>? = null

Setting this to true means that all values are denied. This field can be set only in policies for list constraints.

Link copied to clipboard
val enforce: Output<Boolean>? = null

If true, then the policy is enforced. If false, then any configuration is acceptable. This field can be set only in policies for boolean constraints.

Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun toJava(): PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomPolicyRuleArgs