Hello,
I've been recently playing with BigQuery Analytics Hub API version 1. I was able to programmatically create a digital clean room and also add new listings into it by sharing existing views and tables. I'm using the Python client SDK for Analytics Hub.
When we create new listings inside a digital clean room using the Analytics Hub GUI console, there are options to set up analysis rules (e.g aggregation threshold policy, list overlap rules, etc) over the view being shared. However, I've searched in the Analytics Hub API documentation and did not see any operation related to setting up analysis rules for clean room listings.
The only way I could think of was applying the analysis rules in advance over the view DDL (by using the BigQuery OPTIONS clause) . Then, once the restricted view is defined, we create a new listing sharing this view by the calling createListing() API method.
Is there a more straightforward way to accomplish this using the Analytics Hub API?