public class Tools.ToolsClient : ClientBase<Tools.ToolsClient>Reference documentation and code samples for the Dialogflow v3 API class Tools.ToolsClient.
Client for Tools
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ToolsClient()
protected ToolsClient()Protected parameterless constructor to allow creation of test doubles.
ToolsClient(CallInvoker)
public ToolsClient(CallInvoker callInvoker)Creates a new client for Tools that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
ToolsClient(ChannelBase)
public ToolsClient(ChannelBase channel)Creates a new client for Tools
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
ToolsClient(ClientBaseConfiguration)
protected ToolsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateTool(CreateToolRequest, CallOptions)
public virtual Tool CreateTool(CreateToolRequest request, CallOptions options)Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The response received from the server. |
CreateTool(CreateToolRequest, Metadata, DateTime?, CancellationToken)
public virtual Tool CreateTool(CreateToolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The response received from the server. |
CreateToolAsync(CreateToolRequest, CallOptions)
public virtual AsyncUnaryCall<Tool> CreateToolAsync(CreateToolRequest request, CallOptions options)Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTool |
The call object. |
CreateToolAsync(CreateToolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Tool> CreateToolAsync(CreateToolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTool |
The call object. |
CreateToolVersion(CreateToolVersionRequest, CallOptions)
public virtual ToolVersion CreateToolVersion(CreateToolVersionRequest request, CallOptions options)Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion |
The response received from the server. |
CreateToolVersion(CreateToolVersionRequest, Metadata, DateTime?, CancellationToken)
public virtual ToolVersion CreateToolVersion(CreateToolVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion |
The response received from the server. |
CreateToolVersionAsync(CreateToolVersionRequest, CallOptions)
public virtual AsyncUnaryCall<ToolVersion> CreateToolVersionAsync(CreateToolVersionRequest request, CallOptions options)Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallToolVersion |
The call object. |
CreateToolVersionAsync(CreateToolVersionRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ToolVersion> CreateToolVersionAsync(CreateToolVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateToolVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallToolVersion |
The call object. |
DeleteTool(DeleteToolRequest, CallOptions)
public virtual Empty DeleteTool(DeleteToolRequest request, CallOptions options)Deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteTool(DeleteToolRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteTool(DeleteToolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteToolAsync(DeleteToolRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteToolAsync(DeleteToolRequest request, CallOptions options)Deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteToolAsync(DeleteToolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteToolAsync(DeleteToolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteToolVersion(DeleteToolVersionRequest, CallOptions)
public virtual Empty DeleteToolVersion(DeleteToolVersionRequest request, CallOptions options)Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteToolVersion(DeleteToolVersionRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteToolVersion(DeleteToolVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteToolVersionAsync(DeleteToolVersionRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteToolVersionAsync(DeleteToolVersionRequest request, CallOptions options)Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteToolVersionAsync(DeleteToolVersionRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteToolVersionAsync(DeleteToolVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteToolVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEmpty |
The call object. |
GetTool(GetToolRequest, CallOptions)
public virtual Tool GetTool(GetToolRequest request, CallOptions options)Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The response received from the server. |
GetTool(GetToolRequest, Metadata, DateTime?, CancellationToken)
public virtual Tool GetTool(GetToolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The response received from the server. |
GetToolAsync(GetToolRequest, CallOptions)
public virtual AsyncUnaryCall<Tool> GetToolAsync(GetToolRequest request, CallOptions options)Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTool |
The call object. |
GetToolAsync(GetToolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Tool> GetToolAsync(GetToolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTool |
The call object. |
GetToolVersion(GetToolVersionRequest, CallOptions)
public virtual ToolVersion GetToolVersion(GetToolVersionRequest request, CallOptions options)Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion |
The response received from the server. |
GetToolVersion(GetToolVersionRequest, Metadata, DateTime?, CancellationToken)
public virtual ToolVersion GetToolVersion(GetToolVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ToolVersion |
The response received from the server. |
GetToolVersionAsync(GetToolVersionRequest, CallOptions)
public virtual AsyncUnaryCall<ToolVersion> GetToolVersionAsync(GetToolVersionRequest request, CallOptions options)Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolVersionRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallToolVersion |
The call object. |
GetToolVersionAsync(GetToolVersionRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ToolVersion> GetToolVersionAsync(GetToolVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
GetToolVersionRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallToolVersion |
The call object. |
ListToolVersions(ListToolVersionsRequest, CallOptions)
public virtual ListToolVersionsResponse ListToolVersions(ListToolVersionsRequest request, CallOptions options)List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolVersionsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListToolVersionsResponse |
The response received from the server. |
ListToolVersions(ListToolVersionsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListToolVersionsResponse ListToolVersions(ListToolVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolVersionsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListToolVersionsResponse |
The response received from the server. |
ListToolVersionsAsync(ListToolVersionsRequest, CallOptions)
public virtual AsyncUnaryCall<ListToolVersionsResponse> ListToolVersionsAsync(ListToolVersionsRequest request, CallOptions options)List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolVersionsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListToolVersionsResponse |
The call object. |
ListToolVersionsAsync(ListToolVersionsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListToolVersionsResponse> ListToolVersionsAsync(ListToolVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolVersionsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListToolVersionsResponse |
The call object. |
ListTools(ListToolsRequest, CallOptions)
public virtual ListToolsResponse ListTools(ListToolsRequest request, CallOptions options)Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListToolsResponse |
The response received from the server. |
ListTools(ListToolsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListToolsResponse ListTools(ListToolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListToolsResponse |
The response received from the server. |
ListToolsAsync(ListToolsRequest, CallOptions)
public virtual AsyncUnaryCall<ListToolsResponse> ListToolsAsync(ListToolsRequest request, CallOptions options)Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListToolsResponse |
The call object. |
ListToolsAsync(ListToolsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListToolsResponse> ListToolsAsync(ListToolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListToolsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListToolsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override Tools.ToolsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
ToolsToolsClient |
|
RestoreToolVersion(RestoreToolVersionRequest, CallOptions)
public virtual RestoreToolVersionResponse RestoreToolVersion(RestoreToolVersionRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
RestoreToolVersionResponse |
The response received from the server. |
RestoreToolVersion(RestoreToolVersionRequest, Metadata, DateTime?, CancellationToken)
public virtual RestoreToolVersionResponse RestoreToolVersion(RestoreToolVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
RestoreToolVersionResponse |
The response received from the server. |
RestoreToolVersionAsync(RestoreToolVersionRequest, CallOptions)
public virtual AsyncUnaryCall<RestoreToolVersionResponse> RestoreToolVersionAsync(RestoreToolVersionRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallRestoreToolVersionResponse |
The call object. |
RestoreToolVersionAsync(RestoreToolVersionRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<RestoreToolVersionResponse> RestoreToolVersionAsync(RestoreToolVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallRestoreToolVersionResponse |
The call object. |
UpdateTool(UpdateToolRequest, CallOptions)
public virtual Tool UpdateTool(UpdateToolRequest request, CallOptions options)Update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateToolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The response received from the server. |
UpdateTool(UpdateToolRequest, Metadata, DateTime?, CancellationToken)
public virtual Tool UpdateTool(UpdateToolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateToolRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Tool |
The response received from the server. |
UpdateToolAsync(UpdateToolRequest, CallOptions)
public virtual AsyncUnaryCall<Tool> UpdateToolAsync(UpdateToolRequest request, CallOptions options)Update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateToolRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTool |
The call object. |
UpdateToolAsync(UpdateToolRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Tool> UpdateToolAsync(UpdateToolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateToolRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTool |
The call object. |