Required. The agent to create a entity type for. Supported formats: - projects/<Project ID>/agent - projects/<Project ID>/locations/<Location 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 webpage documents the process of creating an entity type within a specified agent using a `POST` HTTP request."],["The `parent` path parameter, which is mandatory, specifies the agent for which the entity type will be created, with supported formats including project and location identifiers."],["An optional `languageCode` query parameter can be used to access language-specific data; if unspecified, the agent's default language is used."],["The request and response bodies both utilize the `EntityType` resource, and the request body contains the details of what will be created, while the response body is a newly created instance."],["Authorization to create an entity type requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scope."]]],[]]