Enum OSPolicyComplianceState (2.55.0)

See more code actions.
public enum OSPolicyComplianceState extends Enum<OSPolicyComplianceState> implements ProtocolMessageEnum

Supported OSPolicy compliance states.

Protobuf enum google.cloud.osconfig.v1alpha.OSPolicyComplianceState

ProtocolMessageEnum

Static Fields

Name Description
COMPLIANT

Compliant state.

COMPLIANT = 1;

COMPLIANT_VALUE

Compliant state.

COMPLIANT = 1;

NON_COMPLIANT

Non-compliant state

NON_COMPLIANT = 2;

NON_COMPLIANT_VALUE

Non-compliant state

NON_COMPLIANT = 2;

NO_OS_POLICIES_APPLICABLE

No applicable OS policies were found for the instance. This state is only applicable to the instance.

NO_OS_POLICIES_APPLICABLE = 4;

NO_OS_POLICIES_APPLICABLE_VALUE

No applicable OS policies were found for the instance. This state is only applicable to the instance.

NO_OS_POLICIES_APPLICABLE = 4;

OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED

Default value. This value is unused.

OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED = 0;

OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED_VALUE

Default value. This value is unused.

OS_POLICY_COMPLIANCE_STATE_UNSPECIFIED = 0;

UNKNOWN

Unknown compliance state.

UNKNOWN = 3;

UNKNOWN_VALUE

Unknown compliance state.

UNKNOWN = 3;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()