Google Cloud Storage
Connect RootCause to Google Cloud Storage to import files from your GCS buckets. This connector is currently in Beta.
Prerequisites
Before connecting, ensure you have:
Google Cloud project ID
A service account with read access to the buckets and objects you want to import
The service account's JSON key file (or its private key PEM and email)
Setting Up the Connection
Navigate to Sources in your workspace and click Import data
In the Import Manager, find Google Cloud Storage and click Setup
Enter your connection details:
Project ID
Google Cloud project ID
my-project-123
Private Key
Private key (PEM) from the service account JSON — or paste the entire JSON key file
-----BEGIN PRIVATE KEY-----...
Default Bucket (Optional)
Bucket to use when imports don't specify one
my-data-bucket
If you paste the entire JSON key file into Private Key, the service account email is read from it automatically.
Click Test Connection to verify your credentials
Click Save to create the connector
Importing Data
Once your connector is saved:
Click Import Data on the connector
Select a Bucket (RootCause lists the buckets your service account can see, or uses the default bucket)
Enter the Object Path within the bucket:
Specific file:
data/sales.parquetDirectory prefix:
data/2024/Full GCS URI:
gs://bucket/data/
Enable Recursive to include files in subdirectories
Select Formats to import (Parquet, CSV, JSON)
Supported File Formats:
Parquet
Columnar storage format, recommended for large datasets
CSV
Comma-separated values
JSON
Newline-delimited JSON (.jsonl, .ndjson)
What Happens When You Import
RootCause connects to your GCS bucket
Objects matching your path and format criteria are listed
Files are downloaded and parsed
Multiple files are combined into a single dataset
Schema is automatically detected from the file content
Data is stored in your workspace's data lake
The imported dataset becomes available for use in Data Views and Ontology mapping.
Live Data Sync
You can configure automatic syncing to keep your dataset current:
Manual – Only sync when you click "Sync Now"
Hourly – Refresh every hour
Daily – Refresh once per day
Weekly – Refresh once per week
Monthly – Refresh once per month
When a sync runs, the GCS path is re-scanned and data is refreshed.
Service Account Permissions
Create a dedicated service account for RootCause with minimum required permissions:
In the Google Cloud Console, go to IAM & Admin → Service Accounts → Create Service Account
Grant the Storage Object Viewer role (
roles/storage.objectViewer) on the buckets you want to import fromIf you don't set a default bucket, the connector lists buckets in the project — this additionally requires the
storage.buckets.listpermission at the project levelCreate a key for the service account (Keys → Add key → JSON) and paste it into the connector
Troubleshooting
Access Denied / 403
Verify the service account has the Storage Object Viewer role on the bucket
Check that the project ID matches the project that owns the service account
Ensure the key hasn't been deleted or disabled
Bucket not found
Verify the bucket name is spelled correctly
Check that the bucket belongs to a project the service account can access
No files found
Verify the object path prefix is correct
Check that files exist in the specified location
Ensure the selected formats match your file types
Invalid credentials
Paste the entire service account JSON key file, or the private key PEM together with the service account email
Check for missing line breaks or truncation in the pasted key
Last updated

