Manage BigQuery API dependencies
This document describes the Google Cloud services and APIs that BigQuery depends on. It also explains the effects on BigQuery behavior when you disable those services. Review this document before you enable or disable services in your project.
Some services are enabled by default in every Google Cloud project that you create. Other APIs are automatically enabled for all Google Cloud projects that use BigQuery. The remaining services must be explicitly enabled before you can use their functionality. For more information, see the following resources:
This document is intended for administrators.
Services enabled by default
The following services are enabled by default for every new Google Cloud project:
Service | Which features rely on it | Effects of disabling this service |
---|---|---|
analyticshub.googleapis.com |
|
|
bigqueryconnection.googleapis.com |
|
|
bigquerymigration.googleapis.com |
Note: Usually you can disable this service after completing data migration. |
|
bigquerydatapolicy.googleapis.com |
|
|
bigqueryreservation.googleapis.com |
|
|
bigquerystorage.googleapis.com |
|
|
dataform.googleapis.com |
|
|
dataplex.googleapis.com |
|
|
Services enabled by BigQuery Unified API
The BigQuery Unified API (bigqueryunified.googleapis.com
)
includes a curated collection of services that are required for various
BigQuery features to function. If you enable the
BigQuery Unified API, then all of these services are activated
simultaneously. Google can update the services in this collection, and those
services are automatically enabled in projects with this API enabled.
You can disable individual services and APIs.
For instructions on enabling bigqueryunified.googleapis.com
, see
Enabling and disabling services.
Service | Which features rely on it | Effects of disabling this service |
---|---|---|
aiplatform.googleapis.com |
|
|
bigqueryunified.googleapis.com |
|
|
compute.googleapis.com |
|
|
dataproc.googleapis.com |
|
|
datastream.googleapis.com |
|
Services disabled by default
You must manually enable the following services for the corresponding capabilities to become available:
Service | Which features rely on it | Effects of disabling this service |
---|---|---|
cloudaicompanion.googleapis.com |
|
|
composer.googleapis.com |
|
|
datalineage.googleapis.com |
|
|
Manually enable BigQuery code assets
To manage code assets in BigQuery, such as notebooks and saved queries, you must enable the following APIs:
- The Compute Engine API
- The Dataform API
- The Vertex AI API
Before March 2024, these APIs were not automatically enabled by default. If you have automation scripts from before March 2024 that depended on the status of these APIs, then you might need to update them. If you already have these APIs enabled, then you will see new Notebooks and Queries folders in the Explorer pane in BigQuery.
Before you begin
To manually enable code asset management,
you must have the Identity and Access Management (IAM)
Owner (roles/owner
) role.
Manually enable BigQuery code assets
To enable required API dependencies for code assets, follow these steps:
Go to the BigQuery page.
On the Studio, in the tab bar of the editor pane, click the
arrow drop-down next to the + sign, hold the pointer over Notebook, and then select BigQuery template.In the banner that appears under the tab bar of the editor pane, click Enable.
If you don't see the banner, check if you have the required IAM Owner role.
In the Enable features pane, in the Core feature APIs section, do the following:
- To enable version history and sharing of code assets, in the Version history and sharing section, click Enable.
- To enable notebooks, under Python notebooks, click Enable all.
- When the APIs are enabled, click Next.
Optional: Set user permissions in the Permissions section:
- To grant principals the ability to create code assets, and to read, edit, and set permissions for the code assets they created, type their user or group names in the Creator field.
- To grant principals the ability to read, edit, and set permissions for all code assets shared with them, type their user or group names in the Owner field.
Click Next.
Optional: In the Additional APIs section, click Enable all to enable the APIs that you need to create BigQuery remote procedures by using BigQuery DataFrames.
If you chose not to enable the additional APIs, click Close to close the Enable features pane.
Restrict access to code assets
You can help prevent enablement of additional APIs by setting the Restrict Resource Service Usage organization policy constraint. You can turn off selected APIs at any time.
What's next?
- To learn how to manage Google Cloud services, see Enabling and disabling services.
- To learn how to manage API access at a granular level with organization policy constraints, see Restricting resource usage.
- To learn how to control access to services with Identity and Access Management (IAM) roles and permissions for BigQuery, see BigQuery IAM roles and permissions.