This mode checks if the configuration resources in the policy are in
their desired state, and if not, enforces the desired state.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eOSPolicy.Types.Mode\u003c/code\u003e enum within the Google Cloud OS Config v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOSPolicy.Types.Mode\u003c/code\u003e enum defines different policy modes for managing the desired state of configuration resources.\u003c/p\u003e\n"],["\u003cp\u003eThere are two distinct modes: \u003ccode\u003eEnforcement\u003c/code\u003e, which ensures the resources are in the desired state, and \u003ccode\u003eValidation\u003c/code\u003e, which checks the state without making changes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e mode represents an invalid mode state.\u003c/p\u003e\n"],["\u003cp\u003eThis page also contains a list of historical versions for this specific api, with version 2.4.0 being the latest version.\u003c/p\u003e\n"]]],[],null,[]]