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."],[[["This document provides a comprehensive list of versions for `GoogleCredentialsProvider.Builder`, ranging from version 2.63.1 (latest) down to version 2.7.1."],["The class `GoogleCredentialsProvider.Builder` is an abstract class extending `java.lang.Object`, and it includes several inherited methods from the parent class such as `clone()`, `equals()`, and `hashCode()`."],["The `GoogleCredentialsProvider.Builder` class offers methods such as `build()`, `getJwtEnabledScopes()`, `getScopesToApply()`, and `getUseJwtAccessWithScope()`, which are used to construct and configure the credentials provider."],["It includes methods for configuring JWT token usage, with `setJwtEnabledScopes(List\u003cString\u003e val)` allowing for the specification of scopes compatible with JWT tokens, and `setUseJwtAccessWithScope(boolean val)` for specifying if JWT's should be used with scopes."],["`setScopesToApply(List\u003cString\u003e val)` is a method that allows setting the scopes that will be applied to credentials from Application Default Credentials."]]],[]]