Search code examples
google-cloud-platformgoogle-bigquerygoogle-iam

How to assign column-level restriction on BigQuery table in asia-east1 location


I want to restrict access to certain PII columns of my BigQuery tables. My tables are present in location: asia-east1. The BigQuery 'Policy Tag' feature can create policy tags for enforcing column restrictions only in 'US' and 'EU' regions. When I try to assign these policy tags to my asia-east1 tables, it fails with error:

BigQuery error in update operation: Policy tag reference projectsproject-id/locations/us/taxonomies/taxonomy-id/policyTags/policytag-id should contain a location that is in the same region as the dataset.

Any idea on how I can implement this column level restriction for my asia-east1 BigQuery tables?


Solution

  • Summarising our discussion from the comment section.

    According to the documentation, BigQuery provides fine grained access to sensitive data based on type or data classification of the data. In order to achieve this, you can use Data Catalog to create a the taxonomy and policy for your data.

    Regarding the location of the Policy tags, asia-east1. Currently, this feature is on Beta. This is a launch stage where the product is available for broader testing and use and new features/updates might be still taking place. For this reason, Data Catalog locations are limited to the ones listed here. As shown in the link, asia-east1 end point has Taiwan as the region.

    As an addition information, here is a How to guide to implement Policy Tags in BigQuery.