First you need to install gcloud
$ gcloud auth login
$ gcloud auth list
$ gcloud config set project my-project
$ gcloud init my-project
$ gcloud compute ssh my-instance --zone asia-east1-a
$ gcloud compute config-ssh
More info: https://cloud.google.com/compute/docs/gcloud-compute/