generative-ai-python

google.generativeai.protos.ListDocumentsResponse

Response from ListDocuments containing a paginated list of Document\ s.

The Document\ s are sorted by ascending document.create_time.

`documents` `MutableSequence[google.ai.generativelanguage.Document]` The returned ``Document``\ s.
`next_page_token` `str` A token, which can be sent as ``page_token`` to retrieve the next page. If this field is omitted, there are no more pages.