Sets the scopes that are compatible with JWT tokens.
JWT Tokens don't support scopes, they only support audiences. Audiences allow access to
the entire service as opposed some subset (ie. access can't be restricted to use the scope
https://www.googleapis.com/auth/bigtable.data.readonly). A service client can opt-in
to using JWT tokens by specifying which scopes encompass the entire service. If any of those
scopes are present when the client is using ServiceAccountCredentials, then JWT
tokens will be used for authentication.
[[["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-04-09 UTC."],[[["This webpage provides documentation for the `GoogleCredentialsProvider.Builder` class within the `com.google.api.gax.core` package, with version 2.62.0 being the currently viewed version, although version 2.63.1 is the latest."],["The `GoogleCredentialsProvider.Builder` is an abstract class that inherits from `java.lang.Object`, and its purpose is to build `GoogleCredentialsProvider` instances, with the documentation providing various versions of the builder available."],["The builder class offers methods like `build()`, `getJwtEnabledScopes()`, `getScopesToApply()`, and `getUseJwtAccessWithScope()` for retrieving information, alongside methods such as `setJwtEnabledScopes()`, `setScopesToApply()`, and `setUseJwtAccessWithScope()` for configuring the builder, with some features marked as Beta."],["The library is in pre-GA stage, meaning it may have limited support and its changes might not be compatible with other pre-GA versions."],["It also provides a complete list of previous versions, ranging from 2.63.1 down to 2.7.1, with each one linking to its own respective documentation."]]],[]]