This page lists the IAM roles and permissions for Spark connector for BigQuery. To
search through all roles and permissions, see the [role and
permission index](https://docs.cloud.google.com/iam/docs/roles-permissions).

## Spark connector for BigQuery roles


Spark connector for BigQuery offers the following service agent roles.
Service agent roles should only be granted to [service agents](https://docs.cloud.google.com/iam/docs/service-agents.md.txt).

| Role | Permissions |
|---|---|
| #### BigQuery Spark Service Agent (`roles/bigqueryspark.serviceAgent`) Gives BigQuery Spark access to the service accounts in the user project. > [!WARNING] > **Warning:** Do not grant service agent roles to any principals except [service agents](https://docs.cloud.google.com/iam/docs/service-agents.md.txt). | `iam.serviceAccounts.getAccessToken` |

## Spark connector for BigQuery permissions

There are no IAM permissions for this service.