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 webpage provides documentation for the `GoogleCredentialsProvider.Builder` class within the `com.google.api.gax.core` package, with version 2.63.1 being the latest release, while 2.49.0 is the current version documented."],["This `GoogleCredentialsProvider.Builder` is an abstract class used to build `GoogleCredentialsProvider` instances and inherits methods from the `java.lang.Object` class."],["The builder allows setting scopes compatible with JWT tokens via `setJwtEnabledScopes`, and configuring scopes to be applied to credentials using `setScopesToApply`, as well as deciding on the use of JWT access with scopes via the `setUseJwtAccessWithScope` method."],["The class offers methods like `build()`, `getJwtEnabledScopes()`, `getScopesToApply()`, and `getUseJwtAccessWithScope()`, for building and configuring credentials, including the retrieval of previously set scopes and the use of JWT."],["This library is classified as a Beta and is subject to the Pre-GA Offerings Terms, meaning limited support and potential changes that may not be compatible with previous pre-GA versions."]]],[]]