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-03-21 UTC."],[[["This page details the `GoogleCredentialsProvider` class, which is an abstract class in the `com.google.api.gax.core` package, and it is responsible for acquiring credentials using Application Default Credentials."],["The latest version available is 2.63.1, with a history of versions listed from 2.63.1 down to 2.7.1, which all implement the `CredentialsProvider` interface."],["`GoogleCredentialsProvider` inherits from `java.lang.Object` and includes methods such as `getCredentials()`, `getJwtEnabledScopes()`, `getScopesToApply()`, `getUseJwtAccessWithScope()`, and `toBuilder()` to manage credentials and scope-related settings."],["The `newBuilder()` method is a static method that can be used to create a new `GoogleCredentialsProvider.Builder`, and the `getCredentials()` method retrieves the credentials needed for service calls, acquiring them if they haven't been previously obtained."],["There are Beta-covered features, like `getJwtEnabledScopes()` and `getUseJwtAccessWithScope()` for JWT access, which are subject to change and limited support."]]],[]]