public sealed class ToolsClientImpl : ToolsClientReference documentation and code samples for the Dialogflow v3 API class ToolsClientImpl.
Tools client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [Tools][google.cloud.dialogflow.cx.v3.Tool].
Constructors
ToolsClientImpl(ToolsClient, ToolsSettings, ILogger)
public ToolsClientImpl(Tools.ToolsClient grpcClient, ToolsSettings settings, ILogger logger)Constructs a client wrapper for the Tools service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
ToolsToolsClientThe underlying gRPC client. |
settings |
ToolsSettingsThe base ToolsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Tools.ToolsClient GrpcClient { get; }The underlying gRPC Tools client
| Property Value | |
|---|---|
| Type | Description |
ToolsToolsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateTool(CreateToolRequest, CallSettings)
public override Tool CreateTool(CreateToolRequest request, CallSettings callSettings = null)Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The RPC response. |
CreateToolAsync(CreateToolRequest, CallSettings)
public override Task<Tool> CreateToolAsync(CreateToolRequest request, CallSettings callSettings = null)Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTool |
A Task containing the RPC response. |
CreateToolVersion(CreateToolVersionRequest, CallSettings)
public override ToolVersion CreateToolVersion(CreateToolVersionRequest request, CallSettings callSettings = null)Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion |
The RPC response. |
CreateToolVersionAsync(CreateToolVersionRequest, CallSettings)
public override Task<ToolVersion> CreateToolVersionAsync(CreateToolVersionRequest request, CallSettings callSettings = null)Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskToolVersion |
A Task containing the RPC response. |
DeleteTool(DeleteToolRequest, CallSettings)
public override void DeleteTool(DeleteToolRequest request, CallSettings callSettings = null)Deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteToolAsync(DeleteToolRequest, CallSettings)
public override Task DeleteToolAsync(DeleteToolRequest request, CallSettings callSettings = null)Deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteToolVersion(DeleteToolVersionRequest, CallSettings)
public override void DeleteToolVersion(DeleteToolVersionRequest request, CallSettings callSettings = null)Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteToolVersionAsync(DeleteToolVersionRequest, CallSettings)
public override Task DeleteToolVersionAsync(DeleteToolVersionRequest request, CallSettings callSettings = null)Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetTool(GetToolRequest, CallSettings)
public override Tool GetTool(GetToolRequest request, CallSettings callSettings = null)Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The RPC response. |
GetToolAsync(GetToolRequest, CallSettings)
public override Task<Tool> GetToolAsync(GetToolRequest request, CallSettings callSettings = null)Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTool |
A Task containing the RPC response. |
GetToolVersion(GetToolVersionRequest, CallSettings)
public override ToolVersion GetToolVersion(GetToolVersionRequest request, CallSettings callSettings = null)Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion |
The RPC response. |
GetToolVersionAsync(GetToolVersionRequest, CallSettings)
public override Task<ToolVersion> GetToolVersionAsync(GetToolVersionRequest request, CallSettings callSettings = null)Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskToolVersion |
A Task containing the RPC response. |
ListToolVersions(ListToolVersionsRequest, CallSettings)
public override PagedEnumerable<ListToolVersionsResponse, ToolVersion> ListToolVersions(ListToolVersionsRequest request, CallSettings callSettings = null)List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListToolVersionsResponseToolVersion |
A pageable sequence of ToolVersion resources. |
ListToolVersionsAsync(ListToolVersionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListToolVersionsResponse, ToolVersion> ListToolVersionsAsync(ListToolVersionsRequest request, CallSettings callSettings = null)List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListToolVersionsResponseToolVersion |
A pageable asynchronous sequence of ToolVersion resources. |
ListTools(ListToolsRequest, CallSettings)
public override PagedEnumerable<ListToolsResponse, Tool> ListTools(ListToolsRequest request, CallSettings callSettings = null)Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListToolsResponseTool |
A pageable sequence of Tool resources. |
ListToolsAsync(ListToolsRequest, CallSettings)
public override PagedAsyncEnumerable<ListToolsResponse, Tool> ListToolsAsync(ListToolsRequest request, CallSettings callSettings = null)Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListToolsResponseTool |
A pageable asynchronous sequence of Tool resources. |
RestoreToolVersion(RestoreToolVersionRequest, CallSettings)
public override RestoreToolVersionResponse RestoreToolVersion(RestoreToolVersionRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RestoreToolVersionResponse |
The RPC response. |
RestoreToolVersionAsync(RestoreToolVersionRequest, CallSettings)
public override Task<RestoreToolVersionResponse> RestoreToolVersionAsync(RestoreToolVersionRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRestoreToolVersionResponse |
A Task containing the RPC response. |
UpdateTool(UpdateToolRequest, CallSettings)
public override Tool UpdateTool(UpdateToolRequest request, CallSettings callSettings = null)Update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The RPC response. |
UpdateToolAsync(UpdateToolRequest, CallSettings)
public override Task<Tool> UpdateToolAsync(UpdateToolRequest request, CallSettings callSettings = null)Update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateToolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTool |
A Task containing the RPC response. |