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."],[[["The latest version of the `GoogleCredentialsProvider.Builder` is 2.63.1, and the page provides links to the documentation for this version and many older versions, going back to version 2.7.1."],["`GoogleCredentialsProvider.Builder` is an abstract static class that extends `java.lang.Object`."],["The builder provides methods such as `build()`, `getJwtEnabledScopes()`, `getScopesToApply()`, and `getUseJwtAccessWithScope()` to configure and retrieve credentials and scopes."],["The `setJwtEnabledScopes()`, `setScopesToApply()`, and `setUseJwtAccessWithScope()` methods are used to set the scopes for JWT tokens, apply scopes to credentials, and determine the use of JWT access, respectively."],["The `GoogleCredentialsProvider.Builder` class supports JWT tokens for authentication, but only when scopes are encompassing the entire service, since JWT tokens don't specifically support scopes like other credentials."]]],[]]