I need a VM to load data into an existing BigQuery table.
I create a new Compute Engine with:
- The scope having access to all Cloud APIs
- Default service account (auto-generated name
[email protected]
) - This service account having "Editor" permissions in the project
This VM allows me to read BQ with bq ls
, but when I try editing with bq rm <dataset>
, it says
[email protected] does not have permission to delete dataset
What is wrong? Is it possible to give the full access to BQ to the instance, like the one Cloud Shell has?
Or the VM should authenticate as described here: How to auth into BigQuery on Google Compute Engine??