Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

region error when use service account json file dataproc

from google.cloud.dataproc_v1 import ClusterControllerClient


client = ClusterControllerClient.from_service_account_file(
             service_account_json_path,
             client_options={'api_endpoint': f'{your_region}-dataproc.googleapis.com:443'})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #region #error #service #account #json #file #dataproc
ADD COMMENT
Topic
Name
7+2 =