Class OSPolicyCompliance (1.11.2)

OSPolicyCompliance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Compliance data for an OS policy

Attributes

NameDescription
os_policy_id str
The OS policy id
os_policy_assignment str
Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to. Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
state google.cloud.osconfig_v1alpha.types.OSPolicyComplianceState
Compliance state of the OS policy.
os_policy_resource_compliances Sequence[google.cloud.osconfig_v1alpha.types.OSPolicyResourceCompliance]
Compliance data for each OSPolicyResource that is applied to the VM.