Class GoogleGenAiConnectionProperties

java.lang.Object
org.springframework.ai.model.google.genai.autoconfigure.chat.GoogleGenAiConnectionProperties

@ConfigurationProperties("spring.ai.google.genai") public class GoogleGenAiConnectionProperties extends Object
Configuration properties for Google GenAI Chat.
Since:
1.1.0
Author:
Christian Tzolov
  • Field Details

  • Constructor Details

    • GoogleGenAiConnectionProperties

      public GoogleGenAiConnectionProperties()
  • Method Details

    • getApiKey

      public @Nullable String getApiKey()
    • setApiKey

      public void setApiKey(@Nullable String apiKey)
    • getProjectId

      public @Nullable String getProjectId()
    • setProjectId

      public void setProjectId(@Nullable String projectId)
    • getLocation

      public @Nullable String getLocation()
    • setLocation

      public void setLocation(@Nullable String location)
    • getCredentialsUri

      public @Nullable org.springframework.core.io.Resource getCredentialsUri()
    • setCredentialsUri

      public void setCredentialsUri(@Nullable org.springframework.core.io.Resource credentialsUri)
    • isVertexAi

      public boolean isVertexAi()
    • setVertexAi

      public void setVertexAi(boolean vertexAi)