skillfed

google-cloud-asset

Google Cloud Asset API client library

google-cloud-asset v4.4.0 1.2M downloads/30d#4,268 on PyPI5,373
Permissive license Apache-2.0 Active released

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-asset

uv

uv add google-cloud-asset

poetry

poetry add google-cloud-asset

Installing 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

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

Tags

google cloud asset api clientcloud resource inventory managementgcp asset trackingcloud resource historygoogle cloud resource apiasset management pythongcp resource monitoring
google-cloudcloud-resource-managementasset-inventory

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

google-cloud-resource-manager

Provides a Python client for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-billing

Programmatic access to Google Cloud Platform…

permissive · top 15,000 on PyPI

google-cloud-monitoring

Python client library for Google Cloud…

permissive · top 1,000 on PyPI

google-ads-admanager

Python client library for Google Ad Manager…

permissive · top 15,000 on PyPI

google-cloud-tpu

Provides a Python client library to interact…

permissive · top 15,000 on PyPI

google-cloud-monitoring-dashboards

Python client library for Google Cloud…

permissive · top 15,000 on PyPI

google-cloud-filestore

Python client library for creating and managing…

permissive · top 15,000 on PyPI

google-cloud-documentai-toolbox

Programmatically manage, manipulate, and…

permissive · top 15,000 on PyPI

hcloud

Hcloud is the official Python client library…

permissive · top 15,000 on PyPI

pynetbox

Pynetbox is a Python client library for…

permissive · top 5,000 on PyPI