REST Resource: projects.agent.entityTypes

Resource: EntityType

Represents an entity type. Entity types serve as a tool for extracting parameter values from natural language queries.

JSON representation
{
  "name": string,
  "displayName": string,
  "kind": enum(Kind),
  "autoExpansionMode": enum(AutoExpansionMode),
  "entities": [
    {
      object(Entity)
    }
  ]
}
Fields
name

string

Required for all methods except create (create populates the name automatically. The unique identifier of the entity type. Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>.

displayName

string

Required. The name of the entity.

kind

enum(Kind)

Required. Indicates the kind of entity type.

autoExpansionMode

enum(AutoExpansionMode)

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

entities[]

object(Entity)

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

Methods

batchDelete

Deletes entity types in the specified agent.

batchUpdate

Updates/Creates multiple entity types in the specified agent.

create

Creates an entity type in the specified agent.

delete

Deletes the specified entity type.

get

Retrieves the specified entity type.

list

Returns the list of all entity types in the specified agent.

patch

Updates the specified entity type.
Was this page helpful? Let us know how we did:

Send feedback about...

Dialogflow Enterprise Edition