Google Cloud CLI (gcloud)

Manage GCP resources — Compute, Cloud Run, GKE, BigQuery, IAM, and more. Use when an agent needs to provision GCP infrastructure, deploy to Cloud Run, query BigQuery, or manage GCP projects.

composio-community e7eadc6 965 B Updated

File contents

Google Cloud CLI (gcloud)

Manage GCP resources from the terminal.

Installation

brew install google-cloud-sdk
gcloud init
gcloud auth login

Key Commands

gcloud compute instances list --format=json
gcloud run deploy SERVICE --image IMAGE --region REGION
gcloud functions deploy FUNCTION --runtime python311 --trigger-http
gcloud projects list --format=json
gcloud iam service-accounts list --format=json
gcloud config set project PROJECT_ID

Agent-Friendly Features

  • --format=json for structured output
  • Service account auth for non-interactive use
  • --quiet flag to suppress prompts
  • --project to target specific projects

composio-community/awesome-agent-clis/tree/main/gcloud-cli commit e7eadc6457

Frequently asked questions

npx skillmds@latest add composio-community/google-cloud-cli-gcloud