TL;DR
The google_bigquery_table has a relatively new table_contraints block property (which can contain primary_key and foreign_keys sub-blocks)
Terraform Resources
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/bigquery_table#nested_table_constraints
Detailed design
Additional information
No response