Enum OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState (2.9.0)

public enum OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState extends Enum<OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState> implements ProtocolMessageEnum

Possible compliance states for an os policy.

Protobuf enum google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState

Implements

ProtocolMessageEnum

Static Fields

NameDescription
COMPLIANT

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

COMPLIANT = 1;

COMPLIANT_VALUE

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

COMPLIANT = 1;

NON_COMPLIANT

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

NON_COMPLIANT = 2;

NON_COMPLIANT_VALUE

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

NON_COMPLIANT = 2;

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.

UNKNOWN = 0;

UNKNOWN_VALUE

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.

UNKNOWN = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()