Enum OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState (2.25.0)

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

Possible compliance states for a resource.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
COMPLIANT

Resource is compliant.

COMPLIANT = 1;

COMPLIANT_VALUE

Resource is compliant.

COMPLIANT = 1;

NON_COMPLIANT

Resource is non-compliant.

NON_COMPLIANT = 2;

NON_COMPLIANT_VALUE

Resource is non-compliant.

NON_COMPLIANT = 2;

UNKNOWN

The resource is in an unknown compliance state.

To get more details about why the policy is in this state, review the output of the compliance_state_reason field.

UNKNOWN = 0;

UNKNOWN_VALUE

The resource is in an unknown compliance state.

To get more details about why the policy is in this state, review the output of the compliance_state_reason field.

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()