Setting up access on Google Cloud Platform
Create new service account. Note the service account ID for use in the below instructions.
Assign roles to account:
BigQuery Job User
Compute Engine Viewer
Assign IAM policy to account:
gcloud iam service-accounts get-iam-policy $SERVICE_ACCOUNT_ID > policy.ymledit policy.yml to add:
bindings: - members: - serviceAccount:$SERVICE_ACCOUNT_ID role: roles/iam.serviceAccountTokenCreatorgcloud iam service-accounts set-iam-policy $SERVICE_ACCOUNT_ID policy.ymlIn the Cloud API console enable the following APIs:
Create a service account key for the new account
Click on "create credentials"
Select "service account key"
Select the new service account and JSON key format
Save the resulting JSON
Set up billing
Select "Billing export"
Enable big query export
Enter the following details on the Infrastructure Provider settings page
The credentials JSON
The Google Cloud Project ID
The Google Cloud billing account ID
The name of the BigQuery dataset with the billing export
Last updated
Was this helpful?