google-cloud-java icon indicating copy to clipboard operation
google-cloud-java copied to clipboard

Setting project for LanguageServiceClient / LanguageServiceSettings is not possible

Open Starefossen opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Using the LanguageServiceClient I would like to access another project then where my service account is located.

Describe the solution you'd like

  • The LanguageServiceClient should respect GOOGLE_CLOUD_PROJECT environment variable
  • The LanguageServiceSettings should have a setProjectId() similar to the StorageOptions etc.

Describe alternatives you've considered

Recreating the service account in the project seams to be the only workaround as per now.

Additional context

N/A

Starefossen avatar Nov 01 '23 22:11 Starefossen