Required. The agent to create a entity type for. Format: projects/<Project ID>/agent.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.entityTypes.create
Query parameters
Parameters
languageCode
string
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.
Request body
The request body contains an instance of EntityType.
Response body
If successful, the response body contains a newly created instance of EntityType.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This endpoint facilitates the creation of a new entity type within a specified Dialogflow agent."],["The HTTP request is a POST method to a specific URL structure that includes the agent's project and location, using gRPC Transcoding syntax."],["The request requires a `parent` path parameter indicating the agent and an optional `languageCode` query parameter for language-specific data, and it requires an instance of the entity type in the request body."],["Upon successful execution, the response body returns the newly created entity type instance, and successful calls need specific authorization scopes, either `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."],["You must train your agent prior to sending it queries, and you can refer to the documentation for more information."]]],[]]