Google Cloud OsConfig V1 Client - Class ComplianceState (1.3.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

Namespace

Google \ Cloud \ OsConfig \ V1 \ OSPolicyAssignmentReport \ OSPolicyCompliance \ OSPolicyResourceCompliance

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
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;