Google Cloud Dialogflow v2 API - Class EntityType (4.24.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class EntityType.

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
Name Description
other EntityType

Properties

AutoExpansionMode

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

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

Property Value
Type Description
EntityTypeTypesAutoExpansionMode

DisplayName

public string DisplayName { get; set; }

Required. The name of the entity type.

Property Value
Type Description
string

EnableFuzzyExtraction

public bool EnableFuzzyExtraction { get; set; }

Optional. Enables fuzzy entity extraction during classification.

Property Value
Type Description
bool

Entities

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

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

Property Value
Type Description
RepeatedFieldEntityTypeTypesEntity

EntityTypeName

public EntityTypeName EntityTypeName { get; set; }

EntityTypeName-typed view over the Name resource name property.

Property Value
Type Description
EntityTypeName

Kind

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

Required. Indicates the kind of entity type.

Property Value
Type Description
EntityTypeTypesKind

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
Type Description
string