EndpointContext is an internal class used by the client library to resolve the endpoint. It is
created once the library is initialized should not be updated manually.
Contains the fields required to resolve the endpoint and Universe Domain
ServiceName is host URI for Google Cloud Services. It follows the format of
{ServiceName}.googleapis.com. For example, speech.googleapis.com would have a ServiceName of
speech and cloudasset.googleapis.com would have a ServiceName of cloudasset.
Universe Domain is the domain for Google Cloud Services. It follows the format of
{ServiceName}.{UniverseDomain}. For example, speech.googleapis.com would have a Universe
Domain value of googleapis.com and cloudasset.test.com would have a Universe Domain of
test.com. If this value is not set, this will default to googleapis.com.
Check that the User configured universe domain matches the Credentials' universe domain. The
status code parameter is passed in to this method as it's a limitation of Gax's modules. The
transport-neutral module does have access the transport-specific modules (which contain the
implementation of the StatusCode). This method is scoped to be internal and should be not be
accessed by users.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document outlines the `EndpointContext` class in version 2.48.1 of the Google Cloud API Client Library for Java (gax), which is used internally to manage endpoint resolution and should not be directly updated by users."],["The `EndpointContext` class contains methods for obtaining endpoint information, such as `clientSettingsEndpoint()`, `mtlsEndpoint()`, `resolvedEndpoint()`, and `transportChannelProviderEndpoint()`."],["It defines constants like `GOOGLE_CLOUD_UNIVERSE_DOMAIN`, `INVALID_UNIVERSE_DOMAIN_ERROR_TEMPLATE`, and `UNABLE_TO_RETRIEVE_CREDENTIALS_ERROR_MESSAGE`, for managing domain and credential related operations."],["The `EndpointContext` class supports methods such as `getDefaultInstance()` and `newBuilder()` for creating instances, and `validateUniverseDomain()` to verify domain consistency with provided credentials."],["This page lists links to documentation for various versions of the library ranging from version 2.7.1 up to the latest version 2.63.1, which are available for the `EndpointContext` class."]]],[]]