responseMimeType property

String? responseMimeType
final

Output response mimetype of the generated candidate text.

Supported mimetype:

  • text/plain: (default) Text output.
  • application/json: JSON response in the candidates.

Implementation

final String? responseMimeType;