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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThe page provides documentation for the \u003ccode\u003eGoogleCredentialsProvider.Builder\u003c/code\u003e class, with version 2.63.1 being the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogleCredentialsProvider.Builder\u003c/code\u003e class is a subclass of \u003ccode\u003ejava.lang.Object\u003c/code\u003e and includes inherited members like \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild()\u003c/code\u003e method creates and returns a \u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey methods within \u003ccode\u003eGoogleCredentialsProvider.Builder\u003c/code\u003e involve setting and retrieving scope-related information, such as \u003ccode\u003esetJwtEnabledScopes\u003c/code\u003e, \u003ccode\u003egetScopesToApply\u003c/code\u003e, and \u003ccode\u003esetUseJwtAccessWithScope\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere is a listing of all the previous versions from \u003ccode\u003e2.62.0\u003c/code\u003e down to \u003ccode\u003e2.7.1\u003c/code\u003e, for the class \u003ccode\u003eGoogleCredentialsProvider.Builder\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]