Capabilities
✅ Cloud cost | Viio brings in every line item of your Google Cloud bill in the FOCUS format, with the service, region, project, resource, commitment discount and all four cost columns. |
Prerequisites
Billing Account Administrator on the Cloud Billing account, to turn on the export.
A Google Cloud project with BigQuery enabled to hold the export.
Owner or BigQuery Admin on that project, to grant Viio access and label the dataset.
Setup
Turn on the FOCUS export. In the Google Cloud console, open Billing, select your billing account and open Billing export. Turn on the FOCUS export to BigQuery and choose the project to store it in. Google creates a dataset named like
gcp_billing_immutable_<billing account ID>_<location>and fills it within a few hours.Grant Viio read access. Grant these two roles to
[email protected]:BigQuery Job User on the project that holds the export, under IAM & Admin, then IAM, then Grant access.
BigQuery Data Viewer on the export dataset only. In BigQuery, open the dataset, click Sharing, then Permissions, then Add principal.
Label the dataset for your workspace. Viio reads an export only after you mark it as yours, so no other workspace can connect it. In BigQuery, open the export dataset, click Edit details and add a label with the key
viio-workspaceand your Viio workspace ID as the value. If you don't know your workspace ID, go on to step 4. Viio shows the exact label to add.Connect the integration in Viio:
In Viio, open Integrations, choose Google Cloud Platform and click Connect.
Enter the FOCUS table ID, click Continue, add a name, and click Save. To copy the table ID, open the FOCUS table in BigQuery and click the copy icon next to Table ID under Details. It looks like
acme-billing.gcp_billing_immutable_012345_6789AB_CDEF01_EU.gcp_billing_export_focus_012345_6789AB_CDEF01.Viio checks that it can query the table and that the dataset carries your label. If something is missing, it tells you which role or label to add.
Wait for the first sync:
The first sync reads every billing month in the table.
After that, Viio reads only the months Google has updated since the last sync, and replaces that month's figures with the latest ones.
Troubleshooting & FAQ
Symptom | Quick fix |
Viio says it can't find the table. | Check that the table ID has all three parts, project, dataset and table, separated by dots. Google may also not have created the table yet, which can take a few hours after you turn on the export. |
I get an access denied error. | Check that the Viio service account holds BigQuery Job User on the project and BigQuery Data Viewer on the dataset (step 2). Both are needed. A new grant can take a few minutes to apply. |
Viio asks me to add a label. | Add the exact label Viio shows to the export dataset, not to the table or the project (step 3). Then click Continue again. |
Will this add to my Google Cloud bill? | Viio runs its queries in the project that holds the export, so BigQuery bills the query cost to you. Viio reads only months that changed, which keeps the cost low. |
What does Viio see in my project? | Viio sees only the export dataset you grant access to. It runs read-only queries and never writes to your project. |
Can I connect more than one project? | The export covers the whole billing account, including every project billed to it. Connect one export per billing account. Don't connect the same export twice, because Viio would count both copies. |
How do I disconnect Viio? | Remove the integration in Viio. Then remove both roles from the Viio service account and delete the |
Technical details
Authentication: Viio stores no Google key. It exchanges its own identity for a short-lived token for the Viio service account through Workload Identity Federation. The roles you grant are the only thing that authorizes it.
Ownership check: Before every sync, Viio reads the dataset's labels and stops unless
viio-workspacematches the workspace that connected it.Discovery: Google appends late charges and credits as new rows, each with its own export time. Viio groups the table by billing month and keeps the newest export time in each one. It reads a month only when that time differs from the one recorded on the last successful sync.
Reading: Viio reads a changed month in full and sends its rows in batches that close on a row count or a byte budget, whichever comes first. Viio keeps columns outside the FOCUS specification alongside each row.
