Class GoogleCloudDialogflowV2EntityType
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.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2.Data
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class GoogleCloudDialogflowV2EntityType : IDirectResponseSchema
Properties
AutoExpansionMode
Optional. Indicates whether the entity type can be automatically expanded.
Declaration
[JsonProperty("autoExpansionMode")]
public virtual string AutoExpansionMode { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Required. The name of the entity type.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableFuzzyExtraction
Optional. Enables fuzzy entity extraction during classification.
Declaration
[JsonProperty("enableFuzzyExtraction")]
public virtual bool? EnableFuzzyExtraction { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Entities
Optional. The collection of entity entries associated with the entity type.
Declaration
[JsonProperty("entities")]
public virtual IList<GoogleCloudDialogflowV2EntityTypeEntity> Entities { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDialogflowV2EntityTypeEntity> |
Kind
Required. Indicates the kind of entity type.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType and
EntityTypes.BatchUpdateEntityTypes methods. Format: projects//agent/entityTypes/
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |