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 page details the process of creating a new entity type within a specified agent using an HTTP POST request."],["The request requires the `parent` path parameter, indicating the agent where the entity type will be created, with specific authorization via IAM permissions."],["An optional `languageCode` query parameter can be used to access language-specific data, defaulting to the agent's primary language if not provided."],["The request body must include an instance of `EntityType`, and a successful response will return a newly created `EntityType` instance."],["The request requires specific OAuth scopes for authorization, such as `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]