DocumentsResource class

Constructors

DocumentsResource(ApiRequester client)

Properties

hashCode → int
The hash code for this object.
no setterinherited
reviews → DocumentsReviewsResource
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited