Google Cloud Dialogflow v2 API - Class KnowledgeBases.KnowledgeBasesBase (4.9.0)

[BindServiceMethod(typeof(KnowledgeBases), "BindService")]
public abstract class KnowledgeBases.KnowledgeBasesBase

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class KnowledgeBases.KnowledgeBasesBase.

Base class for server-side implementations of KnowledgeBases

Inheritance

object > KnowledgeBases.KnowledgeBasesBase

Namespace

GoogleCloudGoogle.Cloud.DialogflowV2

Assembly

Google.Cloud.Dialogflow.V2.dll

Methods

CreateKnowledgeBase(CreateKnowledgeBaseRequest, ServerCallContext)

public virtual Task<KnowledgeBase> CreateKnowledgeBase(CreateKnowledgeBaseRequest request, ServerCallContext context)

Creates a knowledge base.

Parameters
NameDescription
requestCreateKnowledgeBaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskKnowledgeBase

The response to send back to the client (wrapped by a task).

DeleteKnowledgeBase(DeleteKnowledgeBaseRequest, ServerCallContext)

public virtual Task<Empty> DeleteKnowledgeBase(DeleteKnowledgeBaseRequest request, ServerCallContext context)

Deletes the specified knowledge base.

Parameters
NameDescription
requestDeleteKnowledgeBaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

The response to send back to the client (wrapped by a task).

GetKnowledgeBase(GetKnowledgeBaseRequest, ServerCallContext)

public virtual Task<KnowledgeBase> GetKnowledgeBase(GetKnowledgeBaseRequest request, ServerCallContext context)

Retrieves the specified knowledge base.

Parameters
NameDescription
requestGetKnowledgeBaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskKnowledgeBase

The response to send back to the client (wrapped by a task).

ListKnowledgeBases(ListKnowledgeBasesRequest, ServerCallContext)

public virtual Task<ListKnowledgeBasesResponse> ListKnowledgeBases(ListKnowledgeBasesRequest request, ServerCallContext context)

Returns the list of all knowledge bases of the specified agent.

Parameters
NameDescription
requestListKnowledgeBasesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListKnowledgeBasesResponse

The response to send back to the client (wrapped by a task).

UpdateKnowledgeBase(UpdateKnowledgeBaseRequest, ServerCallContext)

public virtual Task<KnowledgeBase> UpdateKnowledgeBase(UpdateKnowledgeBaseRequest request, ServerCallContext context)

Updates the specified knowledge base.

Parameters
NameDescription
requestUpdateKnowledgeBaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskKnowledgeBase

The response to send back to the client (wrapped by a task).