Cloud OS Config V1alpha API - Module Google::Cloud::OsConfig::V1alpha::OSPolicy::Mode (v0.9.0)

Reference documentation and code samples for the Cloud OS Config V1alpha API module Google::Cloud::OsConfig::V1alpha::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.