Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ComplianceState.
Possible compliance states for an os policy.
Protobuf type google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.ComplianceState
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNKNOWN
Value: 0
The policy is in an unknown compliance state.
Refer to the field compliance_state_reason
to learn the exact reason
for the policy to be in this compliance state.
Generated from protobuf enum UNKNOWN = 0;
COMPLIANT
Value: 1
Policy is compliant.
The policy is compliant if all the underlying resources are also compliant.
Generated from protobuf enum COMPLIANT = 1;
NON_COMPLIANT
Value: 2
Policy is non-compliant.
The policy is non-compliant if one or more underlying resources are non-compliant.
Generated from protobuf enum NON_COMPLIANT = 2;