GKE auto-upgrade pre-alert

Is there a script in the cloud shell to know in advance when a specific GKE cluster will be getting an auto-upgrade? As far as I know, we can set maintenance windows but is there a way for us to be notified
when an upgrade is going to happen, or if we can check via API?