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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable org.springframework.core.io.Resource@Nullable String@Nullable StringbooleanvoidvoidsetCredentialsUri(@Nullable org.springframework.core.io.Resource credentialsUri) voidsetLocation(@Nullable String location) voidsetProjectId(@Nullable String projectId) voidsetVertexAi(boolean vertexAi)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
GoogleGenAiConnectionProperties
public GoogleGenAiConnectionProperties()
-
-
Method Details
-
getApiKey
-
setApiKey
-
getProjectId
-
setProjectId
-
getLocation
-
setLocation
-
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)
-