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-03-21 UTC."],[[["This document provides versioned documentation for `GoogleCredentialsProvider.Builder`, with the latest version being 2.63.1 and the current version being viewed as 2.34.1."],["`GoogleCredentialsProvider.Builder` is an abstract class that inherits from `java.lang.Object`, and includes inherited methods such as `clone()`, `equals()`, and `wait()`."],["The `build()` method of `GoogleCredentialsProvider.Builder` returns a `GoogleCredentialsProvider`, while `getJwtEnabledScopes()`, `getScopesToApply()`, and `getUseJwtAccessWithScope()` retrieve previously set values."],["You can set scopes for JWT tokens and Application Default Credentials, or toggle the use of self-signed JWTs using the methods `setJwtEnabledScopes()`, `setScopesToApply()`, and `setUseJwtAccessWithScope()`."],["The documentation contains a comprehensive list of previous versions of `GoogleCredentialsProvider.Builder` from 2.62.0 all the way to 2.7.1, with each version hyperlinked to its corresponding documentation page."]]],[]]