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 \ OSPolicyResourceComplianceMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
UNKNOWN
Value: 0The 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: 1Resource is compliant.
Generated from protobuf enum COMPLIANT = 1;
NON_COMPLIANT
Value: 2Resource is non-compliant.
Generated from protobuf enum NON_COMPLIANT = 2;