I can create and delete a BigQuery dataset from the Web UI just fine. But, when I use the Python API to create a dataset, I am not able to delete it. I get an error message that I don't have the "bigquery.datasets.delete" permission for that dataset which is not true because I have the editor role in this project. And, if I can create and delete a dataset from the UI, then I should be able to create and delete a dataset using the API as well, correct?
I don't have any tables in this dataset btw. And, I am using the Python API (https://googlecloudplatform.github.io/google-cloud-python/stable/bigquery-usage.html) to create a dataset by dataset.create()