PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomCustomConstraint

data class PosturePolicySetPolicyConstraintOrgPolicyConstraintCustomCustomConstraint(val actionType: String, val condition: String, val description: String? = null, val displayName: String? = null, val methodTypes: List<String>, val name: String, val resourceTypes: List<String>)

Constructors

constructor(actionType: String, condition: String, description: String? = null, displayName: String? = null, methodTypes: List<String>, name: String, resourceTypes: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The action to take if the condition is met. Possible values are: ALLOW, DENY.

Link copied to clipboard

A CEL condition that refers to a supported service resource, for example resource.management.autoUpgrade == false. For details about CEL usage, see Common Expression Language.

Link copied to clipboard
val description: String? = null

A human-friendly description of the constraint to display as an error message when the policy is violated.

Link copied to clipboard
val displayName: String? = null

A human-friendly name for the constraint.

Link copied to clipboard

A list of RESTful methods for which to enforce the constraint. Can be CREATE, UPDATE, or both. Not all Google Cloud services support both methods. To see supported methods for each service, find the service in Supported services.

Link copied to clipboard

Immutable. The name of the custom constraint. This is unique within the organization.

Link copied to clipboard

Immutable. The fully qualified name of the Google Cloud REST resource containing the object and field you want to restrict. For example, container.googleapis.com/NodePool.