Is there a gcloud, or python API, equivalence to the information Google supplies in the OS patch management GUI. The GUI lists compute instances with package updates available. I can use gcloud compute os-config vulnerability-reports describe to view CVE reports, but not if a patch is available. Any suggestions on how to obtain this information?
A quick scan seens to show that the OS Config has an API that is documented here ...
https://cloud.google.com/compute/docs/osconfig/rest
Let's do a first pass and see if any of these APIs provides what you are looking for. Each of these REST APIs may have an equivalent Python Client Library call available.