Google Cloud CLI (gcloud) · Output and filtering

Filter resources

Filter results on the server side.

gcloud compute instances list --filter "status=RUNNING AND zone:us-central1"

Official Google Cloud CLI (gcloud) documentation

More output and filtering commands

All output and filtering commands · Google Cloud CLI (gcloud) cheatsheet

Was this page helpful?