Package com.google.genai.gaos
Class SDKConfiguration
java.lang.Object
com.google.genai.gaos.SDKConfiguration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclient()voidhooks()voidInitializes state (for example hooks).intvoidsetAsyncHooks(AsyncHooks asyncHooks) voidsetAsyncRetryScheduler(ScheduledExecutorService retryScheduler) voidsetClient(HTTPClient client) voidvoidsetRetryConfig(Optional<RetryConfig> retryConfig) voidsetSecuritySource(SecuritySource securitySource) voidsetServerIdx(int serverIdx) voidsetServerUrl(String serverUrl)
-
Field Details
-
OPENAPI_DOC_VERSION
- See Also:
-
SDK_VERSION
- See Also:
-
GEN_VERSION
- See Also:
-
USER_AGENT
-
globals
-
-
Constructor Details
-
SDKConfiguration
public SDKConfiguration()
-
-
Method Details
-
securitySource
-
setSecuritySource
-
client
-
setClient
-
closeClient
- Throws:
Exception
-
serverUrl
-
setServerUrl
-
resolvedServerUrl
-
setServerIdx
public void setServerIdx(int serverIdx) -
serverIdx
public int serverIdx() -
hooks
-
setHooks
-
initialize
public void initialize()Initializes state (for example hooks). -
retryConfig
-
setRetryConfig
-
retryScheduler
-
setAsyncRetryScheduler
-
asyncHooks
-
setAsyncHooks
-