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 details the \u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e class, which is part of the Google API Client Library for Java, specifically within the \u003ccode\u003ecom.google.api.gax.core\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e class acquires credentials using Application Default Credentials, as explained through the provided link to the official documentation for Application Default Credentials.\u003c/p\u003e\n"],["\u003cp\u003eThe page offers version-specific documentation, spanning from version 2.63.1 (latest) down to version 2.7.1, with each version linking to its respective API documentation page for \u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e implements \u003ccode\u003eCredentialsProvider\u003c/code\u003e and includes methods such as \u003ccode\u003egetCredentials\u003c/code\u003e, \u003ccode\u003egetJwtEnabledScopes\u003c/code\u003e, \u003ccode\u003egetScopesToApply\u003c/code\u003e, \u003ccode\u003egetUseJwtAccessWithScope\u003c/code\u003e, and \u003ccode\u003etoBuilder\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003enewBuilder()\u003c/code\u003e static method creates a \u003ccode\u003eGoogleCredentialsProvider.Builder\u003c/code\u003e object to construct \u003ccode\u003eGoogleCredentialsProvider\u003c/code\u003e instances, and there are methods to retrieve credentials, scopes, and to check if JWT access is enabled.\u003c/p\u003e\n"]]],[],null,[]]