Package com.google.genai.gaos
Class AsyncGenAI
java.lang.Object
com.google.genai.gaos.AsyncGenAI
- All Implemented Interfaces:
AutoCloseable
Gemini API: The Gemini Interactions API allows developers to build generative AI applications using
Gemini models. Gemini is our most capable model, built from the ground up to be multimodal. It can
generalize and seamlessly understand, operate across, and combine different types of information
including language, images, audio, video, and code.
You can use the Gemini API for use cases like reasoning across text and images, content generation, dialogue agents, summarization and classification systems, and more.
-
Method Details
-
agents
-
environments
-
interactions
-
triggers
-
webhooks
-
sync
Switches to the sync SDK.- Returns:
- The sync SDK
-
close
Releases the configured HTTP client's owned resources. The sync and async SDKs share one client, which is closed at most once.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception- if the configured client cannot be closed
-