Dialogflow v3 API - Class DeleteToolRequest (3.0.0)

public sealed class DeleteToolRequest : IMessage<DeleteToolRequest>, IEquatable<DeleteToolRequest>, IDeepCloneable<DeleteToolRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Dialogflow v3 API class DeleteToolRequest.

The request message for [Tools.DeleteTool][google.cloud.dialogflow.cx.v3.Tools.DeleteTool].

Inheritance

object > DeleteToolRequest

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

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 force is set to false, an error will be returned with message indicating the referenced resources.
  • If force is 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; }

ToolName-typed view over the Name resource name property.

Property Value
Type Description
ToolName