public sealed class DeleteEntityTypeRequest : IMessage<DeleteEntityTypeRequest>, IEquatable<DeleteEntityTypeRequest>, IDeepCloneable<DeleteEntityTypeRequest>, IBufferMessage, IMessage
The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType].
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][google.cloud.dialogflow.cx.v3.Form.Parameter] of the entity type will be changed to
'@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] of the entity type
will be removed).
Required. The name of the entity type to delete.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/entityTypes/<Entity Type ID>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe content provides a comprehensive list of versions for the \u003ccode\u003eDeleteEntityTypeRequest\u003c/code\u003e class, ranging from version 2.23.0 down to 1.0.0, with each version linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteEntityTypeRequest\u003c/code\u003e is a class used to define a request message for deleting entity types in Google Cloud Dialogflow CX, implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor \u003ccode\u003eDeleteEntityTypeRequest()\u003c/code\u003e and a copy constructor \u003ccode\u003eDeleteEntityTypeRequest(DeleteEntityTypeRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteEntityTypeRequest\u003c/code\u003e class has three key properties: \u003ccode\u003eEntityTypeName\u003c/code\u003e which provides an typed view over the name resource property, \u003ccode\u003eForce\u003c/code\u003e which dictates the behavior of deletion when entity types are in use, and \u003ccode\u003eName\u003c/code\u003e which is a string representing the required name of the entity to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eDeleteEntityTypeRequest\u003c/code\u003e is 2.23.0, but version 2.1.0 is shown as a major point of reference for details on this type of request.\u003c/p\u003e\n"]]],[],null,[]]