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 reference information for the `GoogleCredentialsProvider.Builder` class within the Google API Client Library for Java, specifically version 2.19.6."],["The latest version available is 2.63.1, and the document lists several previous versions of the API, allowing users to navigate to specific versions."],["The `GoogleCredentialsProvider.Builder` class is an abstract class that inherits from `java.lang.Object`, with inherited members such as `clone()`, `equals()`, and `getClass()`."],["The `Builder` class provides methods to set and retrieve JWT enabled scopes (`setJwtEnabledScopes`, `getJwtEnabledScopes`), set and get scopes to apply (`setScopesToApply`, `getScopesToApply`), and configure the usage of JWT access with scope (`setUseJwtAccessWithScope`, `getUseJwtAccessWithScope`)."],["The class has a constructor with no arguments called `Builder()`, and it features the `build()` method, which creates and returns a `GoogleCredentialsProvider`."]]],[]]