gcloud CLI Commands

A running list of gcloud cli commands I frequently use

Author
Published

May 22, 2024

Check Projects

To list all of your projects:

gcloud projects list

To check which project is your default project:

gcloud config get-value project

To set which project is your default project:

gcloud config set project [PROJECT_ID]

Cloud Storage

To push data to a cloud storage bucket:

gcloud storage cp PATH/TO/LOCAL/FILE.PARQUET gs://BUCKET_NAME

Note that cp in the above command means “copy.” See other flags/options here

App Engine

To deploy an app to App Engine:

gcloud app deploy