Structs§
- Candidate
- A candidate response
- Citation
Metadata - Citation metadata for content
- Citation
Source - Citation source
- Generate
Content Request - Request to generate content
- Generation
Config - Configuration for generation
- Generation
Response - Response from the Gemini API for content generation
- Multi
Speaker Voice Config - Multi-speaker voice configuration
- Prebuilt
Voice Config - Prebuilt voice configuration
- Prompt
Feedback - Feedback about the prompt
- Prompt
Token Details - Details about prompt tokens by modality
- Speaker
Voice Config - Configuration for a specific speaker in multi-speaker TTS
- Speech
Config - Configuration for speech generation (text-to-speech)
- Thinking
Config - Configuration for thinking (Gemini 2.5 series only)
- Usage
Metadata - Metadata about token usage
- Voice
Config - Voice configuration for text-to-speech
Enums§
- Block
Reason - Reason why content was blocked
- Finish
Reason - Reason why generation finished