Class ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.DeleteRequest
Deletes the specified entity type. Note: You should always train a flow prior to sending it queries. See the training documentation.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.EntityTypesResource.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 entity type not being used. For entity types that are used by
intents or pages: * If force
is set to false, an error will be returned with message
indicating the referencing resources. * If force
is set to true, Dialogflow will remove
the entity type, as well as any references to the entity type (i.e. Page parameter of the
entity type will be changed to '@sys.any' and intent parameter of the entity type will be
removed).
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 entity type to delete. Format:
projects//locations//agents//entityTypes/
.
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()