KEMBAR78
host is not updated when universe domain is specified · Issue #2911 · googleapis/sdk-platform-java · GitHub
Skip to content

host is not updated when universe domain is specified  #2911

@JesseLovelace

Description

@JesseLovelace

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions