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-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eOSPolicy.Types.Mode\u003c/code\u003e enum within the Google Cloud OS Config v1alpha API.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eOSPolicy.Types.Mode\u003c/code\u003e defines the operating modes for a policy, which are \u003ccode\u003eEnforcement\u003c/code\u003e, \u003ccode\u003eUnspecified\u003c/code\u003e, and \u003ccode\u003eValidation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEnforcement\u003c/code\u003e mode ensures resources are in the desired state and enforces the state if needed, while \u003ccode\u003eValidation\u003c/code\u003e mode checks the state without enforcing any changes, and \u003ccode\u003eUnspecified\u003c/code\u003e indicates an invalid mode.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is part of the Google.Cloud.OsConfig.V1Alpha namespace, and is found within the Google.Cloud.OsConfig.V1Alpha.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation including 2.0.0-alpha06 (latest), 2.0.0-alpha05, and 1.0.0-alpha04.\u003c/p\u003e\n"]]],[],null,[]]