Google Cloud Dialogflow v2beta1 API - Class Tools.ToolsBase (1.0.0-beta24)

[BindServiceMethod(typeof(Tools), "BindService")]
public abstract class Tools.ToolsBase

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Tools.ToolsBase.

Base class for server-side implementations of Tools

Inheritance

object > Tools.ToolsBase

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Methods

CreateTool(CreateToolRequest, ServerCallContext)

public virtual Task<Tool> CreateTool(CreateToolRequest request, ServerCallContext context)

Creates a tool.

Parameters
Name Description
request CreateToolRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTool

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

DeleteTool(DeleteToolRequest, ServerCallContext)

public virtual Task<Empty> DeleteTool(DeleteToolRequest request, ServerCallContext context)

Deletes a tool.

Parameters
Name Description
request DeleteToolRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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

GetTool(GetToolRequest, ServerCallContext)

public virtual Task<Tool> GetTool(GetToolRequest request, ServerCallContext context)

Retrieves a tool.

Parameters
Name Description
request GetToolRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTool

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

ListTools(ListToolsRequest, ServerCallContext)

public virtual Task<ListToolsResponse> ListTools(ListToolsRequest request, ServerCallContext context)

Lists tools.

Parameters
Name Description
request ListToolsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListToolsResponse

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

UpdateTool(UpdateToolRequest, ServerCallContext)

public virtual Task<Tool> UpdateTool(UpdateToolRequest request, ServerCallContext context)

Updates a tool.

Parameters
Name Description
request UpdateToolRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTool

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