tarun-google commented on code in PR #38950:
URL: https://github.com/apache/beam/pull/38950#discussion_r3404868842


##########
sdks/python/apache_beam/io/gcp/internal/clients/bigquery/bigquery_v2_client.py:
##########
@@ -29,50 +29,29 @@ class BigqueryV2(base_api.BaseApiClient):
 
   MESSAGES_MODULE = messages
   BASE_URL = 'https://bigquery.googleapis.com/bigquery/v2/'
-  MTLS_BASE_URL = 'https://www.mtls.googleapis.com/bigquery/v2/'
+  MTLS_BASE_URL = 'https://bigquery.mtls.googleapis.com/bigquery/v2/'
 
   _PACKAGE = 'bigquery'
-  _SCOPES = [
-      'https://www.googleapis.com/auth/bigquery',
-      'https://www.googleapis.com/auth/bigquery.insertdata',
-      'https://www.googleapis.com/auth/bigquery.readonly',
-      'https://www.googleapis.com/auth/cloud-platform',
-      'https://www.googleapis.com/auth/cloud-platform.read-only',
-      'https://www.googleapis.com/auth/devstorage.full_control',
-      'https://www.googleapis.com/auth/devstorage.read_only',
-      'https://www.googleapis.com/auth/devstorage.read_write'
-  ]
+  _SCOPES = ['https://www.googleapis.com/auth/bigquery', 
'https://www.googleapis.com/auth/bigquery.insertdata', 
'https://www.googleapis.com/auth/cloud-platform', 
'https://www.googleapis.com/auth/cloud-platform.read-only', 
'https://www.googleapis.com/auth/devstorage.full_control', 
'https://www.googleapis.com/auth/devstorage.read_only', 
'https://www.googleapis.com/auth/devstorage.read_write']

Review Comment:
   I do not see  'https://www.googleapis.com/auth/bigquery.readonly'  
referenced in https://www.googleapis.com/discovery/v1/apis/bigquery/v2/rest



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to