Dialogflow v3 API - Class DeleteEntityTypeRequest (2.9.0)

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

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

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

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string