apiKey

public abstract AuthConfig.Builder apiKey(String apiKey)

Setter for apiKey.

apiKey: The authentication config to access the API. Only API key is supported. This field is not supported in Gemini API.