googleapis / googleapis/google-cloud-java

Setting project for LanguageServiceClient / LanguageServiceSettings is not possible

Abierto
#10,025 0 comentarios 0 reacciones 0 asignados Ver en GitHub
api: language priority: p3 type: feature request
Lenguaje dominante
Java
Estrellas
2.1k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
154

Descripción

**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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.