Class DeleteEntityTypeRequest (1.13.0)

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].

Inheritance

Object > DeleteEntityTypeRequest

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

DeleteEntityTypeRequest()

public DeleteEntityTypeRequest()

DeleteEntityTypeRequest(DeleteEntityTypeRequest)

public DeleteEntityTypeRequest(DeleteEntityTypeRequest other)
Parameter
NameDescription
otherDeleteEntityTypeRequest

Properties

EntityTypeName

public EntityTypeName EntityTypeName { get; set; }

EntityTypeName-typed view over the Name resource name property.

Property Value
TypeDescription
EntityTypeName

Force

public bool Force { get; set; }

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 &apos;@sys.any&apos; and intent [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] of the entity type will be removed).
Property Value
TypeDescription
Boolean

Name

public string Name { get; set; }

Required. The name of the entity type to delete. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/entityTypes/&lt;Entity Type ID>.

Property Value
TypeDescription
String