dialogflow  v2beta1
Classes | Public Member Functions | List of all members
Google.Apis.Dialogflow.v2beta1.ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource Class Reference

The "documents" collection of methods. More...

Classes

class  CreateRequest
 Creates a new document. More...
 
class  DeleteRequest
 Deletes the specified document. More...
 
class  GetRequest
 Retrieves the specified document. More...
 
class  ListRequest
 Returns the list of all documents of the knowledge base. More...
 
class  PatchRequest
 Updates the specified document. More...
 
class  ReloadRequest
 Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. More...
 

Public Member Functions

 DocumentsResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual CreateRequest Create (Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1Document body, string parent)
 Creates a new document. More...
 
virtual DeleteRequest Delete (string name)
 Deletes the specified document. More...
 
virtual GetRequest Get (string name)
 Retrieves the specified document. More...
 
virtual ListRequest List (string parent)
 Returns the list of all documents of the knowledge base. More...
 
virtual PatchRequest Patch (Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1Document body, string name)
 Updates the specified document. More...
 
virtual ReloadRequest Reload (Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1ReloadDocumentRequest body, string name)
 Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. More...
 

Detailed Description

The "documents" collection of methods.

Constructor & Destructor Documentation

◆ DocumentsResource()

Google.Apis.Dialogflow.v2beta1.ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.DocumentsResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Create()

virtual CreateRequest Google.Apis.Dialogflow.v2beta1.ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.Create ( Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1Document  body,
string  parent 
)
inlinevirtual

Creates a new document.

Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Parameters
bodyThe body of the request.
parentRequired. The knoweldge base to create a document for. Format: projects//knowledgeBases/.

◆ Delete()

virtual DeleteRequest Google.Apis.Dialogflow.v2beta1.ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.Delete ( string  name)
inlinevirtual

Deletes the specified document.

Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Parameters
nameThe name of the document to delete. Format: projects//knowledgeBases//documents/.

◆ Get()

virtual GetRequest Google.Apis.Dialogflow.v2beta1.ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.Get ( string  name)
inlinevirtual

Retrieves the specified document.

Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Parameters
nameRequired. The name of the document to retrieve. Format projects//knowledgeBases//documents/.

◆ List()

virtual ListRequest Google.Apis.Dialogflow.v2beta1.ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.List ( string  parent)
inlinevirtual

Returns the list of all documents of the knowledge base.

Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Parameters
parentRequired. The knowledge base to list all documents for. Format: projects//knowledgeBases/.

◆ Patch()

virtual PatchRequest Google.Apis.Dialogflow.v2beta1.ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.Patch ( Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1Document  body,
string  name 
)
inlinevirtual

Updates the specified document.

Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Parameters
bodyThe body of the request.
nameThe document resource name. The name must be empty when creating a document. Format: projects//knowledgeBases//documents/.

◆ Reload()

virtual ReloadRequest Google.Apis.Dialogflow.v2beta1.ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.Reload ( Google.Apis.Dialogflow.v2beta1.Data.GoogleCloudDialogflowV2beta1ReloadDocumentRequest  body,
string  name 
)
inlinevirtual

Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes.

Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Parameters
bodyThe body of the request.
nameThe name of the document to reload. Format: projects//knowledgeBases//documents/

The documentation for this class was generated from the following file: