mode property

String? mode
getter/setter pair

Policy mode

Required. Possible string values are:

  • "MODE_UNSPECIFIED" : Invalid mode
  • "VALIDATION" : This mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes.
  • "ENFORCEMENT" : This mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.

Implementation

core.String? mode;