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 available is 2.63.1, with a range of previous versions listed, down to 2.7.1, for `com.google.api.gax.core.GoogleCredentialsProvider.Builder`."],["This library is currently in Beta, as stated by the Pre-GA Offerings Terms of Service, and may have limited support or undergo incompatible changes between pre-GA versions."],["`GoogleCredentialsProvider.Builder` extends `java.lang.Object`, inheriting methods like `clone`, `equals`, and `wait`."],["The `GoogleCredentialsProvider.Builder` allows setting scopes for credentials and determining if JWT tokens should be used, with methods such as `setJwtEnabledScopes` and `setUseJwtAccessWithScope`."],["The `build` method creates an instance of `GoogleCredentialsProvider` using the `GoogleCredentialsProvider.Builder`."]]],[]]