google-cloud-service-usage
Google Cloud Service Usage API client library
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained client for a core GCP management API. It has no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to manage GCP services programmatically; skip it if you only use the Cloud Console or gcloud CLI.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10.
- Requires Google Cloud authentication setup (service account key or Application Default Credentials).
- Low friction installation with a pure-Python wheel.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must include a copy of the license and note any modifications.
last release 2026-06-03 (72 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 280,332 downloads/mo, #8,112 on PyPI
Alternatives
Verify before relying
pip install google-cloud-service-usage
from google.cloud import serviceusage_v1
client = serviceusage_v1.ServiceUsageClient()
project_name = 'projects/my-project'
response = client.list_services(parent=project_name)- Whether the package supports async/await patterns for concurrent service management operations.
- Performance characteristics when managing services across multiple projects or large numbers of services.
- Whether billing or quota limits apply to Service Usage API calls made through this client.
What it is and what it does
This is the official Python client library for Google Cloud's Service Usage API. It wraps the gRPC and REST endpoints that let you programmatically enable, disable, and enumerate services within a Google Cloud project. The library handles authentication, serialization, and error handling so you can focus on service management logic rather than low-level protocol details.
You'd use it when you need to automate service activation (e.g., enabling Compute Engine or Cloud Storage on new projects), audit which services are active, or disable services as part of cleanup or cost-control workflows. It integrates with standard Google Cloud authentication mechanisms and follows the same patterns as other google-cloud-* libraries.
Use it for
- Enable required APIs automatically when provisioning new Google Cloud projects as part of infrastructure-as-code workflows.
- Audit and report which services are currently enabled across a portfolio of GCP projects.
- Disable unused services to reduce attack surface and potential costs in existing projects.
- Build custom dashboards or compliance tools that track service activation status across teams.
- Integrate service management into CI/CD pipelines that set up ephemeral test environments.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained client for a core GCP management API. It has no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to manage GCP services programmatically; skip it if you only use the Cloud Console or gcloud CLI.
Install
google-cloud-service-usage on PyPI
Before you install
Low friction installation with a pure-Python wheel. Actively maintained, with recent activity. Depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf).
Requires Python >= 3.10. Requires Google Cloud authentication setup (service account key or Application Default Credentials).
License in practice
Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must include a copy of the license and note any modifications.
Quickstart
pip install google-cloud-service-usage
from google.cloud import serviceusage_v1
client = serviceusage_v1.ServiceUsageClient()
project_name = 'projects/my-project'
response = client.list_services(parent=project_name)
Verify before relying
- Whether the package supports async/await patterns for concurrent service management operations.
- Performance characteristics when managing services across multiple projects or large numbers of services.
- Whether billing or quota limits apply to Service Usage API calls made through this client.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesgoogle-api-coregoogle-authgrpcioproto-plusprotobuf |
| Maintenance | Actively maintained 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 280,332 / month, #8,112 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended 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_service_usage-1.17.0-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 › “google cloud service usage api”
- google-cloud-service-usageProvides a Python client for Google Cloud Service Usage API, enabling…
- google-cloud-quotasPython client library for Google Cloud Quotas API, enabling…
- google-cloud-kmsProvides a Python client library for Google Cloud Key Management…
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-billing · google-cloud-monitoring · google-cloud-quotas · google-cloud-resource-manager · google-cloud-functions · google-cloud-access-context-manager · google-cloud-monitoring-dashboards · google-cloud-api-keys · google-cloud-logging