Skip to content

Commit c7bb8da

Browse files
authored
Merge pull request #5098 from segmentio/retl-update-bq-permission-requirement
update the BQ permission requirement section
2 parents d9befca + ec47600 commit c7bb8da

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/connections/reverse-etl/reverse-etl-source-setup-guides/bigquery-setup.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,14 @@ When you construct your own role or policy, Segment needs the following permissi
3636
Permission | Details
3737
---------- | --------
3838
`bigquery.datasets.create` | This allows Segment to create/manage a `__segment_reverse_etl` dataset for tracking state between syncs.
39-
`bigquery.datasets.get` | This allows Segment to determine if the aforementioned dataset exists
40-
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets/tables your model query references and manage tables that Segment uses for tracking
39+
`bigquery.datasets.get` | This allows Segment to determine if the aforementioned dataset exists.
40+
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets or tables your model query references, and also allows Segment to manage tables used for tracking.
4141

42-
The `bigquery.datasets.*` permissions can be scoped only to the `__segment_reverse_etl` dataset. If you don't wish to grant `bigquery.datasets.create` access, you may create this dataset yourself, but Segment still needs `bigquery.datasets.get` access.
42+
If you don't want to grant Segment `bigquery.datasets.create` access, you can create your own `__segment_reverse_etl` dataset and give Segment the following permissions:
43+
Permission | Details
44+
---------- | --------
45+
`bigquery.datasets.get` | This allows Segment to determine if the `__segment_reverse_etl` dataset exists.
46+
`bigquery.tables.create` | This allows Segment to determine if the tables Segment uses to track state in the `__segment_reverse_etl` dataset exists.
47+
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets or tables your model query references, and also allows Segment to manage tables used for tracking.
48+
49+
The `bigquery.datasets.*` permissions can be scoped only to the `__segment_reverse_etl` dataset.

0 commit comments

Comments
 (0)