google-cloud-run
Google Cloud Run API client library
Decision gist · record as of 2026-08-14
Yes, if you need to manage Cloud Run services programmatically from Python. The library is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It is the canonical way to interact with Cloud Run's Admin API from Python code. Install it only if you have a Google Cloud project with Cloud Run enabled and authentication already configured.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Google Cloud authentication must be configured (via Application Default Credentials, service account key, or explicit credentials).
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions. You may use, modify, and distribute this library freely provided you include a copy of the license and notice of changes.
last release 2026-06-22 (53 days) · last repo commit 2026-08-14 · 5,371 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,160,237 downloads/mo, #404 on PyPI
Alternatives
Verify before relying
pip install google-cloud-run
from google.cloud.run_v2 import ServicesClient
from google.cloud.run_v2 import Service
client = ServicesClient()
service = client.get_service(request={"name": "projects/PROJECT_ID/locations/REGION/services/SERVICE_NAME"})- Whether the library supports both Cloud Run Admin API v1 and v2 equally, or if v2 is the primary target
- Performance characteristics and latency for typical deployment and service management operations
- Whether gRPC or REST transport is the default, and if both are equally supported
What it is and what it does
This is Google's official Python client for the Cloud Run Admin API, a managed service for deploying and running containerized applications on Google Cloud. It abstracts the HTTP/gRPC communication layer and provides Python objects and methods that map directly to Cloud Run's API operations—creating, updating, deleting, and querying services and revisions. The library follows Google Cloud's standard client patterns and integrates with google-auth for credential handling.
You use it when you need to programmatically manage Cloud Run services from Python code: deploying new container images, scaling services, managing traffic routing, querying service status, or integrating Cloud Run operations into larger automation workflows. It requires active Google Cloud authentication and a project with Cloud Run enabled. The library is Beta-status and actively maintained, supporting modern Python versions (3.10 through 3.14).
Use it for
- Automate deployment of container images to Cloud Run as part of a CI/CD pipeline
- Query and monitor the status of running Cloud Run services and revisions programmatically
- Manage traffic splitting and routing policies across multiple service revisions
- Build infrastructure-as-code tools that provision and configure Cloud Run services
- Integrate Cloud Run service lifecycle management into larger cloud orchestration systems
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to manage Cloud Run services programmatically from Python.
The library is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It is the canonical way to interact with Cloud Run's Admin API from Python code. Install it only if you have a Google Cloud project with Cloud Run enabled and authentication already configured.
Install
google-cloud-run on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with recent releases and a stable repository. Requires modern Python (3.10+) and depends on established Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1).
Requires Python 3.10 or later. Google Cloud authentication must be configured (via Application Default Credentials, service account key, or explicit credentials).
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions. You may use, modify, and distribute this library freely provided you include a copy of the license and notice of changes.
Quickstart
pip install google-cloud-run
from google.cloud.run_v2 import ServicesClient
from google.cloud.run_v2 import Service
client = ServicesClient()
service = client.get_service(request={"name": "projects/PROJECT_ID/locations/REGION/services/SERVICE_NAME"})
Verify before relying
- Whether the library supports both Cloud Run Admin API v1 and v2 equally, or if v2 is the primary target
- Performance characteristics and latency for typical deployment and service management operations
- Whether gRPC or REST transport is the default, and if both are equally supported
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesgoogle-api-coregoogle-authgrpcioproto-plusprotobufgrpc-google-iam-v1 |
| Maintenance | Actively maintained 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,160,237 / month, #404 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: google_cloud_run-0.16.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cloud run deployment python”
- google-cloud-runPython client library for the Google Cloud Run Admin API, enabling…
- prefect-cloudDeploys Python functions to Prefect Cloud and manages their…
- google-agents-cliA CLI toolchain that equips coding agents (Claude Code, Antigravity…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-appengine-admin · google-cloud-functions · google-cloud-deploy · google-cloud-automl · google-cloud-container · google-cloud-build · google-cloud-resource-manager · google-analytics-admin · google-cloud-runtimeconfig · google-cloud-datastream