Class MutableCredentials (6.128.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicclassMutableCredentialsextendsCredentials
A mutable Credentials implementation that delegates authentication behavior to a scoped
ServiceAccountCredentials instance.
This class is intended for scenarios where an application needs to replace the underlying
service account credentials for a long-running Spanner Client.
All operations inherited from Credentials are forwarded to the current delegate,
including request metadata retrieval and token refresh. Calling #updateCredentials(ServiceAccountCredentials) replaces the delegate with a newly scoped
credentials instance created from the same scopes that were provided when this object was
constructed.
[[["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 2026-11-19 UTC."],[],[]]