googleapis / googleapis/google-cloud-java

Setting project for LanguageServiceClient / LanguageServiceSettings is not possible

Offen
#10,025 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api: language priority: p3 type: feature request
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.