> ## Documentation Index
> Fetch the complete documentation index at: https://squad.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google BigQuery

> What teammates can do in Google BigQuery at each access level, and how to connect, limit, and disconnect Google BigQuery.

Connect Google BigQuery so your teammates can work in your Google BigQuery account. You choose an access level for each account, and Squad refuses any teammate action outside that level.

## Access levels

Each Google BigQuery account has an access level: **Read-only** and **Read + write**. Squad refuses any teammate action outside that level. You can also narrow or block single teammates under **One teammate at a time**.

| Level | The connect window describes this level as | Actions teammates can use |
| - | - | - |
| **Read-only** (recommended) | "Read everything this account can see, such as datasets, tables, table rows, jobs, and query results. Cannot change anything." | 32 of 63 |
| **Read + write** | "Run queries, load and insert data, and create, edit, and delete tables, routines, and models. Cannot change access, buy capacity, share data out, or delete datasets." | 51 of 63 |

The other 12 Google BigQuery actions run at no level, so no teammate can run them.

**Read-only** is the recommended level. The connect window selects it for you, and you can choose another level.

The Google BigQuery sign-in page asks you to approve full access to your account. This is expected. Squad does not narrow the sign-in. It checks every teammate action against the level you chose, and it refuses actions outside that level.

## What teammates can do at each level

Each level opens with a short summary in plain tasks, then lists every action it adds, grouped by what the action works on. You do not need to name actions. Ask in plain words, and the teammate searches for the matching action.

> [!TIP]
>
> **Find an action.** Open a level and use your browser's find (Ctrl+F, or Cmd+F on a Mac) with a word from the task or part of a slug. Or ask a teammate in plain words, for example "What can you do in my Google BigQuery account?" The teammate can search the Google BigQuery actions for you, and it can see which levels run each action.

Each action shows its name, a one-line description where the Google BigQuery action catalog has one, and its slug. The slug is the ID that teammates use when they call the action.

> [accordion] Read-only (recommended)
>
> Teammates can use 32 of the 63 Google BigQuery actions at this level:
>
> * View policies
> * View connections
> * View datasets
> * View query jobs
> * View routines
> * View tables
> * View account details
> * View groups
> * View locations
> * View projects
> * View reservations
> * Test roles and permissions
>
> All 32 actions at this level:
>
> > [accordion] Account details (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Get service account | Get the service account for a project used for interactions with Google Cloud KMS. | `GOOGLEBIGQUERY_GET_SERVICE_ACCOUNT` |
>
> > [accordion] Connections (2)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List big query connections | List BigQuery connections in a given project and location. | `GOOGLEBIGQUERY_LIST_BIG_QUERY_CONNECTIONS` |
> > | List locations connections | List BigQuery connections in a given project and location using the v1beta1 API. | `GOOGLEBIGQUERY_LIST_LOCATIONS_CONNECTIONS` |
>
> > [accordion] Datasets (2)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Get dataset | Retrieve BigQuery dataset metadata including location via the datasets.get API. | `GOOGLEBIGQUERY_GET_DATASET` |
> > | List datasets | List datasets in a specific BigQuery project, including dataset locations. | `GOOGLEBIGQUERY_LIST_DATASETS` |
>
> > [accordion] Groups (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List reservation groups | List all BigQuery reservation groups for a project in a specified location. | `GOOGLEBIGQUERY_LIST_RESERVATION_GROUPS` |
>
> > [accordion] Locations (2)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List locations | List information about supported locations for BigQuery Data Transfer Service. | `GOOGLEBIGQUERY_LIST_LOCATIONS` |
> > | List locations datapolicies | List all data policies in a specified parent project and location using the v2beta1 API. | `GOOGLEBIGQUERY_LIST_LOCATIONS_DATAPOLICIES` |
>
> > [accordion] Organizations (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List organization data exchanges | List all data exchanges from projects in a given organization and location using Analytics Hub API. | `GOOGLEBIGQUERY_LIST_ORGANIZATION_DATA_EXCHANGES` |
>
> > [accordion] Policies (4)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Get connection iam policy | Get the IAM access control policy for a BigQuery connection resource. | `GOOGLEBIGQUERY_GET_CONNECTION_IAM_POLICY` |
> > | Get routine iam policy | Retrieve the IAM access control policy for a BigQuery routine resource. | `GOOGLEBIGQUERY_GET_ROUTINE_IAM_POLICY` |
> > | Get table iam policy | Retrieve the IAM access control policy for a BigQuery table resource. | `GOOGLEBIGQUERY_GET_TABLE_IAM_POLICY` |
> > | List row access policies | List all row access policies on a specified BigQuery table. | `GOOGLEBIGQUERY_LIST_ROW_ACCESS_POLICIES` |
>
> > [accordion] Projects (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List projects | List BigQuery projects to which the user has been granted any project role. | `GOOGLEBIGQUERY_LIST_PROJECTS` |
>
> > [accordion] Queries (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Get query results | Get the results of a BigQuery query job via RPC. | `GOOGLEBIGQUERY_GET_QUERY_RESULTS` |
>
> > [accordion] Query jobs (2)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Get job | Retrieve information about a specific BigQuery job. | `GOOGLEBIGQUERY_GET_JOB` |
> > | List jobs | List all jobs that you started in a BigQuery project. | `GOOGLEBIGQUERY_LIST_JOBS` |
>
> > [accordion] Reports (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List analytics hub listings | List all listings in a given Analytics Hub data exchange. | `GOOGLEBIGQUERY_LIST_ANALYTICS_HUB_LISTINGS` |
>
> > [accordion] Reservations (2)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List reservation assignments | List BigQuery reservation assignments. | `GOOGLEBIGQUERY_LIST_RESERVATION_ASSIGNMENTS` |
> > | List reservations | List all BigQuery reservations for a project in a specified location. | `GOOGLEBIGQUERY_LIST_RESERVATIONS` |
>
> > [accordion] Roles and permissions (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Test routine iam permissions | Test which IAM permissions the caller has on a BigQuery routine. | `GOOGLEBIGQUERY_TEST_ROUTINE_IAM_PERMISSIONS` |
>
> > [accordion] Routines (2)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Get routine | Retrieve a BigQuery routine (user-defined function or stored procedure) by its ID. | `GOOGLEBIGQUERY_GET_ROUTINE` |
> > | List routines | List all routines (user-defined functions and stored procedures) in a BigQuery dataset. | `GOOGLEBIGQUERY_LIST_ROUTINES` |
>
> > [accordion] Schemas (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Get table schema | Fetch a BigQuery table's schema and metadata without querying row data. | `GOOGLEBIGQUERY_GET_TABLE_SCHEMA` |
>
> > [accordion] Tables (2)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List table data | List the content of a BigQuery table in rows via the REST API. | `GOOGLEBIGQUERY_LIST_TABLE_DATA` |
> > | List tables | List tables in a BigQuery dataset via the REST API. | `GOOGLEBIGQUERY_LIST_TABLES` |
>
> > [accordion] Templates (1)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | List query templates | List all query templates in a given Analytics Hub data exchange. | `GOOGLEBIGQUERY_LIST_QUERY_TEMPLATES` |
>
> > [accordion] Other actions (5)
> >
> > | Action | What it does | Slug |
> > | - | - | - |
> > | Get BigQuery model | Retrieve a specific BigQuery ML model resource by model ID. | `GOOGLEBIGQUERY_GET_BIGQUERY_MODEL` |
> > | List capacity commitments | List all capacity commitments for the admin project. | `GOOGLEBIGQUERY_LIST_CAPACITY_COMMITMENTS` |
> > | List dataexchanges listings | List all listings in a given Analytics Hub data exchange using the v1beta1 API. | `GOOGLEBIGQUERY_LIST_DATAEXCHANGES_LISTINGS` |
> > | List models | List all BigQuery ML models in a specified dataset. | `GOOGLEBIGQUERY_LIST_MODELS` |
> > | Search all assignments | Search all BigQuery reservation assignments for a specified resource in a particular region. | `GOOGLEBIGQUERY_SEARCH_ALL_ASSIGNMENTS` |

> [accordion] Read + write
>
> Teammates can use 51 of the 63 Google BigQuery actions at this level: everything in **Read-only**, plus:
>
> * Create and update datasets
> * Create, delete, and cancel query jobs
> * Create, update, and delete tables
> * Create, update, and delete routines
>
> The 19 actions that this level adds to **Read-only**:
>
> | Works on | Action | What it does | Slug |
> | - | - | - | - |
> | **Datasets** | Create dataset | Create a new BigQuery dataset with explicit location, labels, and description using the BigQuery Datasets API. | `GOOGLEBIGQUERY_CREATE_DATASET` |
> | | Patch dataset | Update an existing BigQuery dataset using RFC5789 PATCH semantics. | `GOOGLEBIGQUERY_PATCH_DATASET` |
> | | Undelete dataset | Undelete a BigQuery dataset within the time travel window. | `GOOGLEBIGQUERY_UNDELETE_DATASET` |
> | | Update dataset | Update information in an existing BigQuery dataset using the PUT method. | `GOOGLEBIGQUERY_UPDATE_DATASET` |
> | **Query jobs** | Cancel job | Cancel a running BigQuery job. | `GOOGLEBIGQUERY_CANCEL_JOB` |
> | | Delete job metadata | Delete the metadata of a BigQuery job. | `GOOGLEBIGQUERY_DELETE_JOB_METADATA` |
> | | Insert job | Start a new asynchronous BigQuery job (query, load, extract, or copy). | `GOOGLEBIGQUERY_INSERT_JOB` |
> | | Insert job with upload | Start a new BigQuery load job with file upload. | `GOOGLEBIGQUERY_INSERT_JOB_WITH_UPLOAD` |
> | **Routines** | Create routine | Create a new user-defined routine (function or procedure) in a BigQuery dataset. | `GOOGLEBIGQUERY_CREATE_ROUTINE` |
> | | Delete routine | Delete a BigQuery routine by its ID. | `GOOGLEBIGQUERY_DELETE_ROUTINE` |
> | | Update routine | Update an existing BigQuery routine (function or stored procedure). | `GOOGLEBIGQUERY_UPDATE_ROUTINE` |
> | **Tables** | Create table | Create a new, empty table in a BigQuery dataset. | `GOOGLEBIGQUERY_CREATE_TABLE` |
> | | Delete table | Delete a BigQuery table from a dataset. | `GOOGLEBIGQUERY_DELETE_TABLE` |
> | | Patch table | Update specific fields in an existing BigQuery table using RFC5789 PATCH semantics. | `GOOGLEBIGQUERY_PATCH_TABLE` |
> | | Update table | Update an existing BigQuery table. | `GOOGLEBIGQUERY_UPDATE_TABLE` |
> | **Other actions** | Delete model | Delete a BigQuery ML model from a dataset. | `GOOGLEBIGQUERY_DELETE_MODEL` |
> | | Insert all | Stream data into BigQuery one record at a time without running a load job. | `GOOGLEBIGQUERY_INSERT_ALL` |
> | | Patch model | Update specific fields in an existing BigQuery ML model using PATCH semantics. | `GOOGLEBIGQUERY_PATCH_MODEL` |
> | | Query | Query Tool runs a SQL query in BigQuery using the REST API. | `GOOGLEBIGQUERY_QUERY` |

## Connect Google BigQuery

Before you start:

* You need a Google BigQuery account that you can sign in to.
* Your Squad subscription must be active. Squad does not connect apps while the subscription is not active.

**1. Open Apps**

Click **Settings** at the bottom of the sidebar, then **Apps**.

**2. Add an integration**

Under **Connected apps**, click the **Add integration** card.

**3. Find Google BigQuery**

Find **Google BigQuery** in the catalog and click it. You can type the name in **Search the catalog**.

**4. Choose an access level**

Under **What every teammate can do**, choose an access level. It applies to every teammate. The recommended level is marked **Recommended**.

**5. Choose who may use it**

If other people are in your squad, the window also shows **Share this account with everyone in this squad**. It is ticked for the owner and clear for everyone else. Leave it ticked to let your teammates use the account for anyone's requests. Clear it to keep the account for your own requests.

**6. Click Connect Google BigQuery**

Click **Connect Google BigQuery**. The Google BigQuery sign-in page opens in a new tab.

**7. Sign in to Google BigQuery**

Sign in to Google BigQuery and approve the request. The Squad window waits and closes by itself when the account shows up.

Check that it works: Google BigQuery shows under **Your connections** in its own card, with a row for the account and its access level.

## Change the access level

1. Under **Your connections**, find the Google BigQuery account.
2. Click the access level on the account row, or open the account menu (⋯) and click **Manage scope**. Both open the same window.
3. Under **What every teammate can do**, choose the new level.
4. Click **Save access**.

The change does not need a new sign-in. Teammates get the new level from their next call.

## Set access for one teammate

Every teammate uses the account's level unless you set something else for it. You can narrow one teammate to a lower level, or block it.

Only you and your Administrators see **One teammate at a time**. The window says "Each teammate can do what’s set above unless you choose otherwise here. A change applies from their next use of it."

1. Under **Your connections**, open the account menu (⋯) on the Google BigQuery account.
2. Click **Manage scope**.
3. Under **One teammate at a time**, find the teammate.
4. Choose **Default (level name)** to follow the account's level, choose any level of the app, or choose **No access**.
5. Click **Save access**.

A teammate never gets more than the account's level, even if you choose a higher level for it. Changes apply from the teammate's next call. A teammate with **No access** does not see the account.

## Use more than one Google BigQuery account

Click **+ Account** on the Google BigQuery card to connect another account. Teammates try the main account first unless they are asked to use a specific one. When other people are in your squad, a person's own accounts come before shared accounts.

* After you click **+ Account**, follow the connect steps above.
* Each account has its own access level.
* The first account you connect becomes the main account. Its row shows **Main account**.
* To change the main account, open the account menu (⋯) and click **Make it the main account**. Only you and the Administrators who can see every teammate can do this.
* To tell accounts apart, open the account menu (⋯) and click **Rename**.
* Each account is private to the person who connected it unless that person shares it. When other people are in your squad, connecting an account asks whether to share it with everyone. See [Who can use an account](https://squad.so/docs/integrations.md#who-can-use-an-account).

## Reconnect or disconnect

Reconnect when the connection has expired, or when you need to change what the account can reach on the Google BigQuery side:

1. Open the account menu (⋯) and click **Reconnect**.
2. Click **Reauthorize on Google BigQuery**.
3. Sign in to Google BigQuery and approve the request.

Reconnect signs in to the same account again. It does not add a second connection. Only the person who connected the account can reconnect it. An account whose sign-in has expired shows **Needs reconnecting** on its row, with a **Reconnect** button for the person who connected it.

Open the account menu (⋯) on the Google BigQuery account and click **Disconnect…**. A dialog asks you to confirm and says "Your teammates lose access to Google BigQuery through this account." Click **Disconnect**. Teammates then lose access to that account at once.

If it was the main account, another connected Google BigQuery account becomes the main account.

## Costs

Google BigQuery actions do not use Squad credits. Connected apps never use credits. For what does use credits, see [What Squad costs](https://squad.so/docs/costs.md).

## Troubleshooting

A teammate reports that an action is not allowed on this account.

* Cause: the action is outside the account's access level, or outside the level you set for that teammate.
* Fix: choose a higher level in **Manage scope**. You or an Administrator can also change the teammate's row under **One teammate at a time**.

A teammate says it has no access to Google BigQuery, or it does not see the account.

* Cause: the teammate is set to **No access** under **One teammate at a time**, or the account is not connected.
* Fix: you or an Administrator opens **Manage scope** and changes the teammate's row. If the account is missing, connect it again.

Connecting or saving fails with "Your subscription isn't active."

* Cause: your Squad subscription is not active.
* Fix: resubscribe. See [Manage your subscription](https://squad.so/docs/billing.md).

A teammate says the Google BigQuery connection has expired.

* Cause: the sign-in for that account is no longer valid.
* Fix: click **Reconnect** on the account row, or open the account menu (⋯) and click **Reconnect**.

## Common questions

> [accordion] Can I limit what teammates can do in Google BigQuery?
>
> Each Google BigQuery account has an access level: **Read-only** and **Read + write**. Squad refuses any teammate action outside that level. You can also narrow or block single teammates under **One teammate at a time**.

> [accordion] Can I connect more than one Google BigQuery account?
>
> Click **+ Account** on the Google BigQuery card to connect another account. Teammates try the main account first unless they are asked to use a specific one. When other people are in your squad, a person's own accounts come before shared accounts.

> [accordion] How do I disconnect Google BigQuery?
>
> Open the account menu (⋯) on the Google BigQuery account and click **Disconnect…**. A dialog asks you to confirm and says "Your teammates lose access to Google BigQuery through this account." Click **Disconnect**. Teammates then lose access to that account at once.

## Related pages

> [card] [Connect apps](https://squad.so/docs/integrations.md)

> [card] [Add an MCP server or an API key](https://squad.so/docs/custom-integrations.md)
>
> Use this when an action you need is not in this app.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.