Export data to a Cloud Storage bucket or BigQuery table

This document explains how to export usage and forecast data of the resources in your project, folder, or organization to a Cloud Storage bucket or BigQuery table. To export this data as a CSV file to your local workstation, see instead Export data to your local workstation.

You can use the Capacity Planner API to export data from Capacity Planner to a Cloud Storage bucket or a BigQuery table for the following resources:

  • Compute Engine instances

  • Persistent Disk and Hyperdisk volumes

  • GPUs

  • TPUs

  • Reservations

  • Cloud Storage buckets

To learn more about the data that's available from Capacity Planner, data limitations, and how you can use this data, see View usage and forecast data.

Before you begin

If you haven't used Capacity Planner before, review Capacity Planner overview and enable Capacity Planner by completing the prerequisites for projects and users.

Export data to a Cloud Storage bucket or BigQuery table

For instructions, see Capacity Planner API: Preview User Guide.

For more information about using the Capacity Planner API, see the REST Capacity Planner API reference.

What's next