Google Cloud CLI (gcloud) · Compute Engine
Allow traffic to a port
Create a firewall rule that allows HTTPS from anywhere.
gcloud compute firewall-rules create allow-https --allow tcp:443
Official Google Cloud CLI (gcloud) documentation
More compute engine commands
All compute engine commands · Google Cloud CLI (gcloud) cheatsheet