@Generated public interface CredentialsManagerService
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
ExchangeTokenResponse |
exchangeToken(ExchangeTokenRequest exchangeTokenRequest)
Exchange tokens with an Identity Provider to get a new access token.
|
ExchangeTokenResponse exchangeToken(ExchangeTokenRequest exchangeTokenRequest)
POST /exchange-tokens/token is the documented public form, expressed via `google.api.http` below. GET /exchange-tokens/$exchange is a legacy alias used by the Spark driver's OAuth refresh path (DBHttpClient#get sends a body via HttpGetWithEntity) and stays on the legacy `option (rpc).endpoints` annotation: its path contains a literal `$`, which `google.api.http`'s LITERAL grammar does not allow, and `HttpPathParser` does not percent-decode template segments (so encoding as `%24exchange` would not match the literal `$exchange` path the Spark driver sends). Per-endpoint `visibility: PUBLIC_UNDOCUMENTED` preserves the DECO-7732 intent of suppressing the GET alias from the public API spec.
Copyright © 2026. All rights reserved.