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 webpage provides documentation for the `GoogleCredentialsProvider.Builder` class within the `com.google.api.gax.core` package, specifically for Java version 2.60.0."],["The `GoogleCredentialsProvider.Builder` class is used to build a `GoogleCredentialsProvider` object and inherits methods and attributes from the Java `Object` class."],["This documentation is for a pre-GA library, which means it's in Beta and might have limited support with changes that may not be compatible with other pre-GA versions, as outlined by the Pre-GA Offerings Terms."],["Key methods of the `GoogleCredentialsProvider.Builder` class include `build()`, which creates a `GoogleCredentialsProvider`, and methods for managing scopes, like `setJwtEnabledScopes()` and `setScopesToApply()`."],["The `getUseJwtAccessWithScope()`, `setUseJwtAccessWithScope()`, `getJwtEnabledScopes()` and `setJwtEnabledScopes()` methods are noted as pre-GA features, and are involved in the usage of self signed JWT with scopes for service account credentials."]]],[]]