googleapis / googleapis/google-cloud-java

Setting project for LanguageServiceClient / LanguageServiceSettings is not possible

Ouverte
#10,025 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
api: language priority: p3 type: feature request
Langage dominant
Java
Étoiles
2.1k
Forks
1.2k
Merge moyen
1 j 23 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.