download file from google cloud compute instance

If you're connecting to the instance via using SSH for Google Cloud Platform, you can download a specific file via "Download file" from the Settings menu (accessible through the settings icon in upper right corner).

enter image description here

This works for me - Mac OS X

gcloud compute scp username@vminstance:source-directory local-directory --zone instancezone

Before you have to set PATH correctly for using Google SDK.