# Services : GCloud : CLI : Cheatsheet #### Global Options ``` --help --log-http # print the actual API calls --project=PROJECT -q|--quiet --verbosity=dubeg|info|warning*|error|critical|none ``` #### Command Group Pattern ``` $ gcloud TYPE create RESOURCE $ gcloud TYPE delete RESOURCE $ gcloud TYPE describe RESOURCE $ gcloud TYPE list [--uri] $ gcloud TYPE update RESOURCE ``` #### Useful Commands ``` $ gcloud artifacts docker images delete IMAGE $ gcloud artifacts docker images describe IMAGE $ gcloud artifacts docker images list REPO $ gcloud builds list [--uri] $ gcloud builds submit --tag=IMAGE Specify a tag if you want Cloud Build to build using a Dockerfile instead of a build config file. Cloud Build will run a remote "docker build -t $TAG .", where $TAG is the tag provided by this flag. The tag must be in the gcr.io or pkg.dev namespace. $ docker pull us-central1-docker.pkg.dev/backend-prod-425315/proj-repo/backend:latest ```