Credentials class for calling Google APIs using an API key.
Uses an API key directly in the request metadata to provide authorization.
Note: ApiKeyCredentials extends from base Credentials class rather than
GoogleCredentials/OAuth2Credentials, as it does not provide an access token and is not considered
an OAuth2 credential.
Credentialscredentials=ApiKeyCredentials.create("your api key");
The callback that receives the result of the asynchronous Credentials#getRequestMetadata(java.net.URI, java.util.concurrent.Executor,
RequestMetadataCallback). Exactly one method should be called.
Interface for a service account signer. A signer for a service account is capable of signing
bytes using the private key associated with its service account.
[[["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-01 UTC."],[],[]]