Class EntityType (3.11.0)

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

Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted.

Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent.

For more information, see the Entity guide.

Inheritance

Object > EntityType

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

EntityType()

public EntityType()

EntityType(EntityType)

public EntityType(EntityType other)
Parameter
NameDescription
otherEntityType

Properties

AutoExpansionMode

public EntityType.Types.AutoExpansionMode AutoExpansionMode { get; set; }

Optional. Indicates whether the entity type can be automatically expanded.

Property Value
TypeDescription
EntityType.Types.AutoExpansionMode

DisplayName

public string DisplayName { get; set; }

Required. The name of the entity type.

Property Value
TypeDescription
String

EnableFuzzyExtraction

public bool EnableFuzzyExtraction { get; set; }

Optional. Enables fuzzy entity extraction during classification.

Property Value
TypeDescription
Boolean

Entities

public RepeatedField<EntityType.Types.Entity> Entities { get; }

Optional. The collection of entity entries associated with the entity type.

Property Value
TypeDescription
RepeatedField<EntityType.Types.Entity>

EntityTypeName

public EntityTypeName EntityTypeName { get; set; }

EntityTypeName-typed view over the Name resource name property.

Property Value
TypeDescription
EntityTypeName

Kind

public EntityType.Types.Kind Kind { get; set; }

Required. Indicates the kind of entity type.

Property Value
TypeDescription
EntityType.Types.Kind

Name

public string Name { get; set; }

The unique identifier of the entity type. Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType] and [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes] methods. Format: projects/{Project ID}/agent/entityTypes/{Entity Type ID}.

Property Value
TypeDescription
String