Cloud OS Config V1 API - Module Google::Cloud::OsConfig::V1::OSPolicy::Mode (v0.15.0)

Reference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::OSPolicy::Mode.

Policy mode

Constants

MODE_UNSPECIFIED

value: 0
Invalid mode

VALIDATION

value: 1
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

value: 2
This mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state.