googleapis / googleapis/google-cloud-java
[sdk-platform-java] host is not updated when universe domain is specified
Abierto
priority: p3
type: bug
- Lenguaje dominante
- Java
- Estrellas
- 2.1k
- Forks
- 1.2k
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 154
Descripción
When a client specifies a universe domain, the `host` value does not get automatically updated to match. For example, if I create a storage client:
`Storage storage = StorageOptions.grpc().setUniverseDomain("my-universe-domain.com").build().getService();`
Then
`storage.getOptions().getUniverseDomain()` properly returns `my-universe-domain`, but `storage.getOptions.getHost()` just returns `www.googleapis.com`, when it should return `https://storage.my-universe-domain.com`
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.