google-cloud-java
google-cloud-java copied to clipboard
Setting project for LanguageServiceClient / LanguageServiceSettings is not possible
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
LanguageServiceClientshould respectGOOGLE_CLOUD_PROJECTenvironment variable - The
LanguageServiceSettingsshould have asetProjectId()similar to theStorageOptionsetc.
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