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 details different versions of \u003ccode\u003eGoogle.Cloud.OsConfig.V1.OSPolicy.Types.Mode\u003c/code\u003e, with version 2.4.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMode\u003c/code\u003e is an enum that defines how OS policies are applied, either in \u003ccode\u003eEnforcement\u003c/code\u003e mode, \u003ccode\u003eValidation\u003c/code\u003e mode or an invalid \u003ccode\u003eUnspecified\u003c/code\u003e mode.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnforcement\u003c/code\u003e mode checks and enforces the desired state of configuration resources, while the \u003ccode\u003eValidation\u003c/code\u003e mode only checks and does not enforce changes.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation listed is from versions 1.3.0 to 2.4.0, and can be used to view the \u003ccode\u003eMode\u003c/code\u003e from older versions.\u003c/p\u003e\n"]]],[],null,[]]