Google Cloud OsConfig V1 Client - Class ComplianceState (1.0.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ComplianceState.

Possible compliance states for a resource.

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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

UNKNOWN

Value: 0

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.

Generated from protobuf enum UNKNOWN = 0;

COMPLIANT

Value: 1

Resource is compliant.

Generated from protobuf enum COMPLIANT = 1;

NON_COMPLIANT

Value: 2

Resource is non-compliant.

Generated from protobuf enum NON_COMPLIANT = 2;