Permission Details
For the castled connection to work, the account provided to Castled must have the below permissions- Permission to create a new dataset ‘castled’ and full admin access to all the tables/views with in that dataset. This includes permission to create/update/delete and write to these tables and create jobs within this dataset.
- READ ONLY access for any dataset you want Castled to sync the data with the destination app. This will allow read only access on all the tables/views with in that dataset.
- bigquery.dataViewer - This role gives read only access to all the datasets and the tables/views inside these datasets at the project or organisation level.
- bigquery.user - This role allows Castled to create new datasets and here it will allow us to create the ‘castled’ dataset.This grants castled bigquery.dataowner role on this ‘castled’ dataset created.
- bigquery.dataViewer - This role gives read only access to all the datasets and the tables/views inside these datasets at the project or organisation level.
- Manually create the ‘castled’ dataset and give Castled service account bigquery.dataOwner role on this dataset.
- Give Castled service account bigquery.jobs.create permission (via a custom role) at the project level. This will enable us to run jobs with in the project.
Connector Details
For configuring a new connector for BigQuery the following fields needs to be captured- Name: A name for your connector configuration
- Project ID: Identifier for your project.
- GCS Bucket Name: Name of the bucket to be used for the sync.
- Dataset Location: Location of your bucket.When you create a bucket, you permanently define its geographic location, which is the physical place where object data in the bucket resides.
- [project-name] is your Project Name.
- [service-account-user] is your Castled Service Account.
- [gcs-bucket-name] is your the GCS Bucket Name.
