--- id: google-cloud-service-usage version: "1.17.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # google-cloud-service-usage — Google Cloud Service Usage API client library License: permissive · Maintenance: active · Downloads: 280.3K/mo ## 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 above — verify before relying. Provides a Python client for Google Cloud Service Usage API, enabling you to enable, disable, and list services on Google Cloud Platform projects. 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 pip install google-cloud-service-usage uv add google-cloud-service-usage poetry add google-cloud-service-usage ## Installing google-cloud-service-usage 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). 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) Requires Python >= 3.10. Requires Google Cloud authentication setup (service account key or Application Default Credentials). 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_current - Install friction: low - Maintenance: active - Downloads: 280.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags google cloud service usage api, enable disable gcp services, manage cloud platform services, service usage client library, gcp service management, cloud service enablement, google cloud api client, gcp-client, cloud-management, api-wrapper [View on SkillFed](https://skillfed.io/packages/google-cloud-service-usage) · [View on PyPI](https://pypi.org/project/google-cloud-service-usage/)