Few more working IPs for the /etc/hosts
work around:
142.250.113.95 www.googleapis.com
142.251.16.95 www.googleapis.com
172.253.63.95 www.googleapis.com
142.251.111.95 www.googleapis.com
142.251.163.95 www.googleapis.com
142.251.167.95 www.googleapis.com
142.250.74.78 www.googleapis.com
Found using this tool. Only need to add one of these lines to the file, FYI.