googleapis / googleapis/google-cloud-java
Setting project for LanguageServiceClient / LanguageServiceSettings is not possible
Open
api: language
priority: p3
type: feature request
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
**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
Contributor guide
Assessment
This issue has not been assessed yet.