[BindServiceMethod(typeof(Tools), "BindService")]
public abstract class Tools.ToolsBaseReference documentation and code samples for the Dialogflow v3 API class Tools.ToolsBase.
Base class for server-side implementations of Tools
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreateTool(CreateToolRequest, ServerCallContext)
public virtual Task<Tool> CreateTool(CreateToolRequest request, ServerCallContext context)Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| 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). |
CreateToolVersion(CreateToolVersionRequest, ServerCallContext)
public virtual Task<ToolVersion> CreateToolVersion(CreateToolVersionRequest request, ServerCallContext context)Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskToolVersion |
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 specified [Tool][google.cloud.dialogflow.cx.v3.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). |
DeleteToolVersion(DeleteToolVersionRequest, ServerCallContext)
public virtual Task<Empty> DeleteToolVersion(DeleteToolVersionRequest request, ServerCallContext context)Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolVersionRequestThe 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 the specified [Tool][google.cloud.dialogflow.cx.v3.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). |
GetToolVersion(GetToolVersionRequest, ServerCallContext)
public virtual Task<ToolVersion> GetToolVersion(GetToolVersionRequest request, ServerCallContext context)Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskToolVersion |
The response to send back to the client (wrapped by a task). |
ListToolVersions(ListToolVersionsRequest, ServerCallContext)
public virtual Task<ListToolVersionsResponse> ListToolVersions(ListToolVersionsRequest request, ServerCallContext context)List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolVersionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListToolVersionsResponse |
The response to send back to the client (wrapped by a task). |
ListTools(ListToolsRequest, ServerCallContext)
public virtual Task<ListToolsResponse> ListTools(ListToolsRequest request, ServerCallContext context)Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| 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). |
RestoreToolVersion(RestoreToolVersionRequest, ServerCallContext)
public virtual Task<RestoreToolVersionResponse> RestoreToolVersion(RestoreToolVersionRequest request, ServerCallContext context)Retrieves the specified version of the Tool and stores it as the current tool draft, returning the tool with resources updated.
| Parameters | |
|---|---|
| Name | Description |
request |
RestoreToolVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRestoreToolVersionResponse |
The response to send back to the client (wrapped by a task). |
UpdateTool(UpdateToolRequest, ServerCallContext)
public virtual Task<Tool> UpdateTool(UpdateToolRequest request, ServerCallContext context)Update the specified [Tool][google.cloud.dialogflow.cx.v3.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). |