[BindServiceMethod(typeof(Tools), "BindService")]
public abstract class Tools.ToolsBaseReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Tools.ToolsBase.
Base class for server-side implementations of Tools
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
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 |
CreateToolRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteToolRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetToolRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListToolsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateToolRequestThe request received from the client. |
context |
ServerCallContextThe 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). |