Bigquery Config Fix (#4275)

This commit is contained in:
Mayur Singal 2022-04-20 16:47:00 +05:30 committed by GitHub
parent 093a146724
commit 596f3ed9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 24 deletions

View File

@ -6,19 +6,26 @@
"config": { "config": {
"type": "BigQuery", "type": "BigQuery",
"enablePolicyTagImport": true, "enablePolicyTagImport": true,
"credentialsType": "service_account", "projectId":"project_id",
"projectID": "projectID", "credentials":{
"privateKeyId": "privateKeyId", "gcsConfig":{
"privateKey": "privateKey", "type":"service_account",
"clientEmail": "clientEmail", "projectId": "project_id",
"clientId": "clientId", "privateKeyId": "private_key_id",
"authURI": "https://accounts.google.com/o/oauth2/auth", "privateKey": "private_key",
"tokenURI": "https://oauth2.googleapis.com/token", "clientEmail": "gcpuser@project_id.iam.gserviceaccount.com",
"authProviderX509CertUrl": "https://www.googleapis.com/oauth2/v1/certs", "clientId": "client_id",
"clientX509CertUrl": "clientX509CertUrl" "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": { "sink": {
"type": "metadata-rest", "type": "metadata-rest",

View File

@ -5,20 +5,20 @@
"serviceConnection": { "serviceConnection": {
"config": { "config": {
"type": "BigQuery", "type": "BigQuery",
"projectID": "project_id",
"enablePolicyTagImport": true, "enablePolicyTagImport": true,
"connectionOptions": { "projectId":"project_id",
"credentials": { "credentials":{
"type": "service_account", "gcsConfig":{
"project_id": "project_id", "type":"service_account",
"private_key_id": "private_key_id", "projectId": "project_id",
"private_key": "private_key", "privateKeyId": "private_key_id",
"client_email": "gcpuser@project_id.iam.gserviceaccount.com", "privateKey": "private_key",
"client_id": "client_id", "clientEmail": "gcpuser@project_id.iam.gserviceaccount.com",
"auth_uri": "https://accounts.google.com/o/oauth2/auth", "clientId": "client_id",
"token_uri": "https://oauth2.googleapis.com/token", "authUri": "https://accounts.google.com/o/oauth2/auth",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "tokenUri": "https://oauth2.googleapis.com/token",
"client_x509_cert_url": "" "authProviderX509CertUrl": "https://www.googleapis.com/oauth2/v1/certs",
"clientX509CertUrl": ""
} }
} }
} }