Google Cloud OS Config v1 API - Enum OSPolicyAssignmentReport.Types.OSPolicyCompliance.Types.ComplianceState (2.2.0)

public enum OSPolicyAssignmentReport.Types.OSPolicyCompliance.Types.ComplianceState

Reference documentation and code samples for the Google Cloud OS Config v1 API enum OSPolicyAssignmentReport.Types.OSPolicyCompliance.Types.ComplianceState.

Possible compliance states for an os policy.

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Fields

NameDescription
Compliant

Policy is compliant.

The policy is compliant if all the underlying resources are also compliant.

NonCompliant

Policy is non-compliant.

The policy is non-compliant if one or more underlying resources are non-compliant.

Unknown

The policy is in an unknown compliance state.

Refer to the field compliance_state_reason to learn the exact reason for the policy to be in this compliance state.