google-cloud-asset
Google Cloud Asset API client library
What it is and what it does
google-cloud-asset is the official Python client for Google Cloud's Asset API, which tracks and manages the inventory and change history of Google Cloud resources. It wraps the gRPC-based Cloud Asset service, allowing developers to query resource metadata, export asset snapshots, and monitor resource changes programmatically from Python applications.
The library depends on google-api-core, google-auth, grpcio, and protobuf for transport and authentication, plus several Google Cloud service clients (org-policy, os-config, access-context-manager) for cross-service resource management. It requires Python 3.10 or later and is actively maintained as part of the googleapis ecosystem.
Use it for:
- Export and audit all Google Cloud resources in a project for compliance reporting
- Track resource configuration changes over time using the asset history API
- Build custom dashboards or tools that query current resource inventory
- Automate security scanning by querying IAM policies and resource metadata
- Integrate asset data into third-party CMDB or governance platforms
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for Google Cloud Asset API, enabling programmatic access to inventory and history of Google Cloud resources.
Yes. This is the official, actively maintained client for Cloud Asset API with low install friction, permissive licensing, and no known vulnerabilities. Install it if you need programmatic access to Google Cloud resource inventory or history from Python. Not needed if you only use the Cloud Console or CLI.
Install
google-cloud-asset on PyPI
pip
pip install google-cloud-assetuv
uv add google-cloud-assetpoetry
poetry add google-cloud-assetInstalling google-cloud-asset
Before you install
Low install friction; pure Python wheel. Active maintenance with recent release (72 days ago). Supports current Python versions (3.10 through 3.14). Part of the established googleapis ecosystem with 5373 repository stars.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install google-cloud-asset
from google.cloud import asset_v1
client = asset_v1.AssetServiceClient()
# Use client to query Cloud Asset API
Requires Google Cloud project setup, billing enabled, Cloud Asset API enabled, and valid authentication credentials (see package documentation for auth setup).
Verify before relying
- Specific API methods and resource types supported by version 4.4.0
- Performance characteristics for large-scale asset queries
- Backwards compatibility guarantees across minor versions
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — google-api-core, google-auth, google-cloud-org-policy, grpcio, proto-plus, protobuf, google-cloud-access-context-manager, google-cloud-os-config, grpc-google-iam-v1 |
| Maintenance | actively maintained — 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,172,497/month — #4,268 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: google_cloud_asset-4.4.0-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
google-cloud-resource-managerProvides a Python client for Google Cloud…
permissive · top 1,000 on PyPI
google-cloud-billingProgrammatic access to Google Cloud Platform…
permissive · top 15,000 on PyPI
google-cloud-monitoringPython client library for Google Cloud…
permissive · top 1,000 on PyPI
google-ads-admanagerPython client library for Google Ad Manager…
permissive · top 15,000 on PyPI
google-cloud-tpuProvides a Python client library to interact…
permissive · top 15,000 on PyPI
google-cloud-monitoring-dashboardsPython client library for Google Cloud…
permissive · top 15,000 on PyPI
google-cloud-filestorePython client library for creating and managing…
permissive · top 15,000 on PyPI
google-cloud-documentai-toolboxProgrammatically manage, manipulate, and…
permissive · top 15,000 on PyPI
hcloudHcloud is the official Python client library…
permissive · top 15,000 on PyPI
pynetboxPynetbox is a Python client library for…
permissive · top 5,000 on PyPI