Class OSPolicyAssignmentReport (1.17.2)

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

A report of the OS policy assignment status for a given instance.


name str
The OSPolicyAssignmentReport API resource name. Format: projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
instance str
The Compute Engine VM instance name.
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}
os_policy_compliances MutableSequence[]
Compliance data for each OSPolicy that is applied to the VM.
update_time google.protobuf.timestamp_pb2.Timestamp
Timestamp for when the report was last generated.
last_run_id str
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.



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

Compliance data for an OS policy