responseSchema property
Optional. Output schema of the generated candidate text. Schemas must be a subset of the OpenAPI schema and can be objects, primitives or arrays.
If set, a compatible response_mime_type must also be set.
Compatible MIME types:
application/json: Schema for JSON response.
Refer to the JSON text generation
guide for more details.
Implementation
final Schema? responseSchema;