--- id: google-cloud-bigquery-datapolicies version: "0.10.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # google-cloud-bigquery-datapolicies — Google Cloud Bigquery Datapolicies API client library License: permissive · Maintenance: active · Downloads: 187.5K/mo ## 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 above — verify before relying. Provides a Python client library for managing BigQuery data policies in Google Cloud, enabling programmatic control over data access and masking rules. 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 pip install google-cloud-bigquery-datapolicies uv add google-cloud-bigquery-datapolicies poetry add google-cloud-bigquery-datapolicies ## Installing google-cloud-bigquery-datapolicies 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+). 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 Requires Google Cloud project with BigQuery Data Policy enabled, valid credentials configured, and Python >= 3.10. 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_current - Install friction: low - Maintenance: active - Downloads: 187.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags bigquery data policy management, google cloud data access control, bigquery column masking, data policy python client, google cloud python sdk, bigquery governance api, data classification bigquery, google-cloud, bigquery, data-governance [View on SkillFed](https://skillfed.io/packages/google-cloud-bigquery-datapolicies) · [View on PyPI](https://pypi.org/project/google-cloud-bigquery-datapolicies/)