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 page provides documentation for the `GoogleCredentialsProvider.Builder` class, which is an abstract class used to build `GoogleCredentialsProvider` objects."],["The `GoogleCredentialsProvider.Builder` class is a component of the Google API Client Library for Java, specifically within the `com.google.api.gax.core` package."],["The documentation lists a variety of past version numbers from 2.63.1 (latest) to 2.7.1 of the API, showing the historical development of this Builder class."],["The Builder class has methods to set JWT enabled scopes, set the scopes to apply to credentials, and to determine if JWT access with scopes should be used with the `setJwtEnabledScopes`, `setScopesToApply`, and `setUseJwtAccessWithScope` methods respectively."],["The Builder class also contains a `build()` method, which is responsible for creating an instance of `GoogleCredentialsProvider` once all configurations have been set."]]],[]]