responseSchema property

Schema? responseSchema
final

Output response schema of the generated candidate text.

  • Note: This only applies when the responseMimeType supports a schema; currently this is limited to application/json.

Only one of responseSchema or responseJsonSchema may be specified at the same time.

Implementation

final Schema? responseSchema;