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 outlines the `GoogleCredentialsProvider.Builder` class, detailing its methods for configuring credentials used in Google API interactions."],["The latest version available is 2.63.1, and the page includes documentation for numerous past versions, ranging from 2.62.0 down to 2.7.1, to view specific versions, you can use the provided links."],["The `GoogleCredentialsProvider.Builder` class is designed for building `GoogleCredentialsProvider` instances and allows setting parameters such as JWT-enabled scopes, scopes to apply, and whether to use JWT access with scopes."],["Methods like `setJwtEnabledScopes`, `setScopesToApply`, and `setUseJwtAccessWithScope` are used to configure credentials with specific scopes and JWT settings, and `build()` will return a `GoogleCredentialsProvider` using the prior configurations."],["The class inherits several basic Java methods from `java.lang.Object`, including methods for cloning, comparison, and string representation, allowing for it to work like any Java Object."]]],[]]