public sealed class DeleteToolRequest : IMessage<DeleteToolRequest>, IEquatable<DeleteToolRequest>, IDeepCloneable<DeleteToolRequest>, IBufferMessage, IMessageReference documentation and code samples for the Dialogflow v3 API class DeleteToolRequest.
The request message for [Tools.DeleteTool][google.cloud.dialogflow.cx.v3.Tools.DeleteTool].
Implements
IMessageDeleteToolRequest, IEquatableDeleteToolRequest, IDeepCloneableDeleteToolRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
DeleteToolRequest()
public DeleteToolRequest()DeleteToolRequest(DeleteToolRequest)
public DeleteToolRequest(DeleteToolRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteToolRequest |
Properties
Force
public bool Force { get; set; }This field has no effect for Tools not being used. For Tools that are used:
- If
forceis set to false, an error will be returned with message indicating the referenced resources. - If
forceis set to true, Dialogflow will remove the tool, as well as any references to the tool.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Name
public string Name { get; set; }Required. The name of the Tool to be deleted.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ToolName
public ToolName ToolName { get; set; }| Property Value | |
|---|---|
| Type | Description |
ToolName |
|