google-cloud-bigquery-datapolicies
Google Cloud Bigquery Datapolicies API client library
Decision gist · record as of 2026-08-14
Yes, if you need to manage BigQuery data policies programmatically within Google Cloud. The library is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with standard Google Cloud authentication. No known vulnerabilities. Requires Python 3.10+ and a GCP project with BigQuery Data Policy enabled.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud project with BigQuery Data Policy enabled, valid credentials configured, and Python >= 3.10.
- Low friction install with standard Google Cloud dependencies.
- Active maintenance with recent releases; last commit 2026-08-14.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-06-03 (72 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 187,543 downloads/mo, #9,962 on PyPI
Alternatives
Verify before relying
pip install google-cloud-bigquery-datapolicies
from google.cloud import bigquery_datapolicies_v1
client = bigquery_datapolicies_v1.DataPolicyServiceClient()
# Use client methods to manage data policies- Whether the library supports all BigQuery data policy features or a subset of the API surface.
- Performance characteristics when managing policies at scale.
- Whether async/await patterns are supported for policy operations.
What it is and what it does
This is Google's official Python client for the BigQuery Data Policy API, part of the broader Google Cloud Python SDK ecosystem. It wraps Google's gRPC-based data policy service, allowing developers to programmatically create, update, retrieve, and delete data policies that control access and masking rules for BigQuery datasets and tables.
The library depends on standard Google Cloud infrastructure (google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1) and is maintained as part of the googleapis/google-cloud-python monorepo. It targets modern Python versions (3.10 and later) and is in Beta status, indicating active development but not yet guaranteed API stability.
Use it for
- Automate creation and enforcement of column-level masking policies across BigQuery tables in a data governance pipeline.
- Programmatically grant or revoke data access policies based on organizational role changes or compliance requirements.
- Integrate BigQuery data policy management into infrastructure-as-code workflows for reproducible data security configurations.
- Build custom dashboards or audit tools that query and report on active data policies across BigQuery projects.
- Manage data classification and access rules for multi-tenant or regulated environments where policies must be versioned and tracked.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to manage BigQuery data policies programmatically within Google Cloud.
The library is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with standard Google Cloud authentication. No known vulnerabilities. Requires Python 3.10+ and a GCP project with BigQuery Data Policy enabled.
Install
google-cloud-bigquery-datapolicies on PyPI
Before you install
Low friction install with standard Google Cloud dependencies. Active maintenance with recent releases; last commit 2026-08-14. Supports modern Python versions (3.10+).
Requires Google Cloud project with BigQuery Data Policy enabled, valid credentials configured, and Python >= 3.10.
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-bigquery-datapolicies
from google.cloud import bigquery_datapolicies_v1
client = bigquery_datapolicies_v1.DataPolicyServiceClient()
# Use client methods to manage data policies
Verify before relying
- Whether the library supports all BigQuery data policy features or a subset of the API surface.
- Performance characteristics when managing policies at scale.
- Whether async/await patterns are supported for policy operations.
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 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 187,543 / month, #9,962 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_bigquery_datapolicies-0.10.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 › “bigquery data policy management”
- google-cloud-bigquery-datapoliciesProvides a Python client library for managing BigQuery data policies…
- google-cloud-bigquery-connectionManages BigQuery connections to external data sources through a…
- dagster-gcpProvides GCP-specific integrations for Dagster, enabling data…
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-bigquery-connection · google-cloud-bigquery-reservation · google-cloud-org-policy · google-cloud-bigquery-logging · google-cloud-bigquery-storage · google-cloud-dlp · google-cloud-bigquery-datatransfer · google-cloud-billing · google-cloud-dataflow-client · google-cloud-functions