contents property

List<Content> contents
final

Required. The content of the current conversation with the model.

For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.

Implementation

final List<Content> contents;