cmd/upspin-deploy-gcp: use new gcloud cli

Change-Id: Iffdf9f4acba835aec7be84968359cb9c63be8a3e
Reviewed-on: https://upspin-review.googlesource.com/c/gcp/+/19384
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Eric Grosse <grosse@gmail.com>
diff --git a/cmd/upspin-deploy-gcp/main.go b/cmd/upspin-deploy-gcp/main.go
index 2f991ce..27eef2a 100644
--- a/cmd/upspin-deploy-gcp/main.go
+++ b/cmd/upspin-deploy-gcp/main.go
@@ -399,7 +399,7 @@
 
 	// See which APIs are enabled already.
 	var out bytes.Buffer
-	cmd = exec.Command("gcloud", "--project", c.Project, "beta", "service-management", "list")
+	cmd = exec.Command("gcloud", "--project", c.Project, "services", "list")
 	cmd.Stdout = &out
 	cmd.Stderr = os.Stderr
 	if err := cmd.Run(); err != nil {
@@ -421,7 +421,7 @@
 			continue
 		}
 		log.Printf("Enabling API %q", api)
-		cmd := exec.Command("gcloud", "--project", c.Project, "beta", "service-management", "enable", api)
+		cmd := exec.Command("gcloud", "--project", c.Project, "services", "enable", api)
 		if out, err := cmd.CombinedOutput(); err != nil {
 			return fmt.Errorf("enabling API %q: %v\n%s", api, err, out)
 		}
@@ -782,7 +782,7 @@
 	}
 
 	network := &compute.Network{
-		Name: c.networkName(),
+		Name:                  c.networkName(),
 		AutoCreateSubnetworks: true,
 	}
 	op, err := svc.Networks.Insert(c.Project, network).Do()