Using Console
Using CLI
<dataset_id>
with the ID of the dataset that you want to remediate.y
and press enter to confirm the update.
<dataset_id>
with the ID of the dataset that you want to verify.defaultTableExpirationMs
field is set to -1
in the output. This indicates that the dataset is not publicly accessible.
Using Python
google-auth
and google-auth-oauthlib
libraries. Here is an example of how to authenticate and authorize:google-cloud-bigquery
library to access the BigQuery API. Here is an example of how to check if a dataset is publicly accessible:READER
role for the anonymous user. Here is an example of how to do this: