diff --git a/ingestion/examples/workflows/bigquery.json b/ingestion/examples/workflows/bigquery.json index 8d1045b4c78..58856ef649c 100644 --- a/ingestion/examples/workflows/bigquery.json +++ b/ingestion/examples/workflows/bigquery.json @@ -6,19 +6,26 @@ "config": { "type": "BigQuery", "enablePolicyTagImport": true, - "credentialsType": "service_account", - "projectID": "projectID", - "privateKeyId": "privateKeyId", - "privateKey": "privateKey", - "clientEmail": "clientEmail", - "clientId": "clientId", - "authURI": "https://accounts.google.com/o/oauth2/auth", - "tokenURI": "https://oauth2.googleapis.com/token", - "authProviderX509CertUrl": "https://www.googleapis.com/oauth2/v1/certs", - "clientX509CertUrl": "clientX509CertUrl" + "projectId":"project_id", + "credentials":{ + "gcsConfig":{ + "type":"service_account", + "projectId": "project_id", + "privateKeyId": "private_key_id", + "privateKey": "private_key", + "clientEmail": "gcpuser@project_id.iam.gserviceaccount.com", + "clientId": "client_id", + "authUri": "https://accounts.google.com/o/oauth2/auth", + "tokenUri": "https://oauth2.googleapis.com/token", + "authProviderX509CertUrl": "https://www.googleapis.com/oauth2/v1/certs", + "clientX509CertUrl": "clientX509CertUrl" + } + } } }, - "sourceConfig": {"config": {"enableDataProfiler": false}} + "sourceConfig": {"config": { + "enableDataProfiler": false + }} }, "sink": { "type": "metadata-rest", diff --git a/ingestion/examples/workflows/bigquery_usage.json b/ingestion/examples/workflows/bigquery_usage.json index 008e94a067b..e79454cb679 100644 --- a/ingestion/examples/workflows/bigquery_usage.json +++ b/ingestion/examples/workflows/bigquery_usage.json @@ -5,20 +5,20 @@ "serviceConnection": { "config": { "type": "BigQuery", - "projectID": "project_id", "enablePolicyTagImport": true, - "connectionOptions": { - "credentials": { - "type": "service_account", - "project_id": "project_id", - "private_key_id": "private_key_id", - "private_key": "private_key", - "client_email": "gcpuser@project_id.iam.gserviceaccount.com", - "client_id": "client_id", - "auth_uri": "https://accounts.google.com/o/oauth2/auth", - "token_uri": "https://oauth2.googleapis.com/token", - "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", - "client_x509_cert_url": "" + "projectId":"project_id", + "credentials":{ + "gcsConfig":{ + "type":"service_account", + "projectId": "project_id", + "privateKeyId": "private_key_id", + "privateKey": "private_key", + "clientEmail": "gcpuser@project_id.iam.gserviceaccount.com", + "clientId": "client_id", + "authUri": "https://accounts.google.com/o/oauth2/auth", + "tokenUri": "https://oauth2.googleapis.com/token", + "authProviderX509CertUrl": "https://www.googleapis.com/oauth2/v1/certs", + "clientX509CertUrl": "" } } }