Package com.google.genai
Class Documents
java.lang.Object
com.google.genai.Documents
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(String name, DeleteDocumentConfig config) get(String name, GetDocumentConfig config) list(String parent, ListDocumentsConfig config) Makes an API request to list the available documents.
-
Constructor Details
-
Documents
public Documents(com.google.genai.ApiClient apiClient)
-
-
Method Details
-
get
-
delete
-
list
Makes an API request to list the available documents.- Parameters:
config- AListDocumentsConfigfor configuring the list request.- Returns:
- A
Pagerobject that contains the list of documents. The pager is an iterable and automatically queries the next page once the current page is exhausted.
-