Gets the credentials which will be used to call the service. If the credentials have not been
acquired yet, then they will be acquired when this function is called.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e class, which is part of the Google API Client Libraries for Java.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e class acquires credentials using Application Default Credentials, as described at developers.google.com/identity/protocols/application-default-credentials.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented on this page is 2.63.1, with numerous previous versions ranging down to 2.7.1, which is also the version where the detailed documentation is displayed.\u003c/p\u003e\n"],["\u003cp\u003eKey methods of \u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e include \u003ccode\u003egetCredentials()\u003c/code\u003e, \u003ccode\u003egetJwtEnabledScopes()\u003c/code\u003e, \u003ccode\u003egetScopesToApply()\u003c/code\u003e, \u003ccode\u003egetUseJwtAccessWithScope()\u003c/code\u003e, \u003ccode\u003enewBuilder()\u003c/code\u003e, and \u003ccode\u003etoBuilder()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits several methods from the \u003ccode\u003ejava.lang.Object\u003c/code\u003e class, such as \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals(Object)\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e etc.\u003c/p\u003e\n"]]],[],null,[]]