Class ProjectsResource.LocationsResource.AgentsResource.ToolsResource.DeleteRequest
Deletes a specified Tool.
Inheritance
ProjectsResource.LocationsResource.AgentsResource.ToolsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.ToolsResource.DeleteRequest : DialogflowBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
Force
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.
Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type | Description |
---|---|
bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the Tool to be deleted. Format: projects//locations//agents//tools/
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()