google.ai.generativelanguage.ListDocumentsRequest

Request for listing Document\ s.

parent str

Required. The name of the Corpus containing Document\ s. Example: corpora/my-corpus-123

page_size int

Optional. The maximum number of Document\ s to return (per page). The service may return fewer Document\ s.

If unspecified, at most 10 Document\ s will be returned. The maximum size limit is 20 Document\ s per page.

page_token str

Optional. A page token, received from a previous ListDocuments call.

Provide the next_page_token returned in the response as an argument to the next request to retrieve the next page.

When paginating, all other parameters provided to ListDocuments must match the call that provided the page token.