googleapis / googleapis/google-cloud-java

Setting project for LanguageServiceClient / LanguageServiceSettings is not possible

Đang mở
#10,025 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: language priority: p3 type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.