DocumentsResource class
Methods
-
delete(String name, {bool? allowMissing, bool? force, String? $fields})
→ Future<Empty>
-
Deletes a document and its stored content.
-
estimateReviewCost(EstimateReviewCostRequest request, String document, {String? $fields})
→ Future<EstimateReviewCostResponse>
-
Estimates what a review of a document would cost on the caller's Gemini
API key.
-
get(String name, {String? $fields})
→ Future<Document>
-
Retrieves document metadata.
-
list({String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields})
→ Future<ListDocumentsResponse>
-
Lists documents for the authenticated caller with cursor pagination.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited