ProjectsKnowledgeBasesDocumentsResource class

Constructors

ProjectsKnowledgeBasesDocumentsResource(ApiRequester client)

Properties

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

Methods

create(GoogleCloudDialogflowV2Document request, String parent, {String? $fields}) Future<GoogleLongrunningOperation>
Creates a new document.
delete(String name, {String? $fields}) Future<GoogleLongrunningOperation>
Deletes the specified document.
export(GoogleCloudDialogflowV2ExportDocumentRequest request, String name, {String? $fields}) Future<GoogleLongrunningOperation>
Exports a smart messaging candidate document into the specified destination.
get(String name, {String? $fields}) Future<GoogleCloudDialogflowV2Document>
Retrieves the specified document.
import(GoogleCloudDialogflowV2ImportDocumentsRequest request, String parent, {String? $fields}) Future<GoogleLongrunningOperation>
Creates documents by importing data from external sources.
list(String parent, {String? filter, int? pageSize, String? pageToken, String? $fields}) Future<GoogleCloudDialogflowV2ListDocumentsResponse>
Returns the list of all documents of the knowledge base.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(GoogleCloudDialogflowV2Document request, String name, {String? updateMask, String? $fields}) Future<GoogleLongrunningOperation>
Updates the specified document.
reload(GoogleCloudDialogflowV2ReloadDocumentRequest request, String name, {String? $fields}) Future<GoogleLongrunningOperation>
Reloads the specified document from its specified source, content_uri or content.
toString() String
A string representation of this object.
inherited

Operators

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