Uses of Class
com.google.genai.Client.Builder
Packages that use Client.Builder
-
Uses of Client.Builder in com.google.genai
Methods in com.google.genai that return Client.BuilderModifier and TypeMethodDescriptionSets the API key for Gemini API.static Client.BuilderClient.builder()Returns aClient.BuilderforClient.Client.Builder.clientOptions(ClientOptions clientOptions) Sets theClientOptionsfor the API client.Client.Builder.credentials(com.google.auth.oauth2.GoogleCredentials credentials) Sets theGoogleCredentialsfor Vertex AI APIs.Client.Builder.httpOptions(HttpOptions httpOptions) Sets theHttpOptionsfor the API client.Sets the location for Vertex AI APIs.Sets the project ID for Vertex AI APIs.Client.Builder.vertexAI(boolean vertexAI) Sets whether to use Vertex AI APIs.