Google Cloud
Google Cloud Platform CLI for compute, storage, networking, Kubernetes Engine, and cloud resource management.
142 commands
Browse by Topic
Getting Started
Quick setup and installation
Auth
Auth & configuration
Compute
Compute Engine
Storage
Cloud Storage (gsutil)
GKE
Kubernetes Engine
Cloud Run
Serverless containers
Functions
Cloud Functions
IAM
Identity & access
Projects
Project management
Artifacts
Artifact Registry
Cloud SQL
Managed databases (PostgreSQL, MySQL)
Networking
VPC, subnets, DNS & load balancing
Logging
Cloud Logging & log management
Install Google Cloud SDK (macOS)
Install the Google Cloud SDK using Homebrew on macOS
Check gcloud version
Display the installed Google Cloud SDK version
Login to Google Cloud
Authenticate with Google Cloud using interactive browser login
Copy Files
Copy files to/from Cloud Storage
Copy Directory
Copy directory recursively with parallelism
Get Bucket IAM
Get IAM policy for bucket
List Buckets/Objects
List buckets or objects in a bucket
Create Bucket
Create a new Cloud Storage bucket
Delete Bucket
Delete an empty bucket
Delete Objects
Delete objects from bucket
Sync Files
Synchronize local directory with bucket
Delete Cloud Run Service
Delete a Cloud Run service
Deploy to Cloud Run
Deploy a container to Cloud Run
Deploy from Source
Build and deploy from source code
Describe Service
Get details of a Cloud Run service
Create Cloud Run Job
Create a Cloud Run job for batch processing
Describe Cloud Run Job
Get configuration details of a Cloud Run job
Execute Cloud Run Job
Manually trigger a Cloud Run job execution
List Cloud Run Services
List all Cloud Run services
View Service Logs
Read logs from Cloud Run service
Set IAM Policy
Set IAM policy for Cloud Run service from file
Manage Traffic
Split traffic between revisions
Update Traffic Split
Configure traffic distribution between revisions
Call Function
Invoke a Cloud Function
Test Function with Data
Invoke function with JSON payload for testing
Delete Function
Delete a Cloud Function
Delete Function Forcefully
Remove a Cloud Function from specified region
Deploy Function
Deploy a Cloud Function (2nd gen)
Deploy Python Gen2 Function
Deploy Cloud Function Gen2 with Python 3.11 runtime
Describe Function
Get details of a Cloud Function
Get Function Details
Retrieve complete function configuration and status
List Functions
List all Cloud Functions
View Function Logs
Read logs from a Cloud Function
Read Function Logs with Limit
Read recent function logs with result limit
Add IAM Binding
Grant a role to a member on project
Get IAM Policy
Show IAM policy for project
List Roles
List available IAM roles
Create Service Account
Create a new service account
Create Service Account Key
Generate a key file for service account
List Service Accounts
List all service accounts in project
Link Billing Account
Link a billing account to project
Create Project
Create a new Google Cloud project
Delete Project
Schedule project for deletion
Describe Project
Get details of a project
List Projects
List all accessible projects
Enable API
Enable a Google Cloud API
List Enabled APIs
Show enabled APIs in project
Create Artifact Repository
Create a new Artifact Registry repository for Docker images
Delete Artifact Repository
Delete an Artifact Registry repository
List Docker Images
List all Docker images in an Artifact Registry repository
List Artifact Repositories
List all Artifact Registry repositories in location
List Image Tags
List all tags for a specific Docker image
Add DNS Record
Create a DNS record in a managed zone
Create DNS Zone
Create a Cloud DNS managed zone
List Static IPs
List all reserved static IP addresses
Reserve Static IP
Reserve an external static IP address
Create HTTP Load Balancer
Create a URL map for HTTP(S) load balancing
Create Cloud NAT
Create Cloud NAT for outbound internet access from private VMs
Create Subnet
Create a subnet in a VPC network
List Subnets
List all subnets across all VPC networks
Create VPC Network
Create a custom VPC network
List VPC Networks
List all VPC networks in the project
Create Log Sink
Create a log sink to export logs to Cloud Storage, BigQuery, or Pub/Sub
List Available Logs
List all log names in the project
List Log Sinks
List all log sinks (exports) in the project
Create Log Metric
Create a log-based metric for monitoring and alerting
Read Logs
Read log entries with a filter expression
Read Recent Logs
Read log entries from a specific time period
Tail Logs Live
Stream live log entries in real-time (like tail -f)
Write Log Entry
Write a custom log entry to Cloud Logging
Discussion
Loading comments...