OptionalcandidateOptionalfrequencyOptionalmaxOptionalpresenceOptionalresponseOutput response MIME type of the generated candidate text.
Supported MIME types are text/plain (default, text output),
application/json (JSON response in the candidates), and
text/x.enum.
Optional BetaresponseGeneration modalities to be returned in generation responses.
ResponseModality.IMAGE) is supported.OptionalresponseOutput response schema of the generated candidate text. This
value can be a class generated with a Schema static method
like Schema.string() or Schema.object() or it can be a plain
JS object matching the SchemaRequest interface.
Note: This only applies when the specified responseMIMEType supports a schema; currently
this is limited to application/json and text/x.enum.
OptionalstopOptionaltemperatureOptionalthinkingConfiguration for "thinking" behavior of compatible Gemini models.
OptionaltopOptionaltop
Config options for content-related requests