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 endpoint is used to create a new entity type within a specified Dialogflow agent."],["The HTTP request is a POST request directed to a specific URL that includes the agent's project and location, requiring proper authentication with specific IAM permissions."],["The `parent` path parameter is mandatory and defines the agent where the new entity type will be created, while the `languageCode` query parameter is optional and defines the language for the entity data."],["Both the request and response bodies involve the `EntityType` resource, with the request containing the data to create the new entity type and the response returning the newly created `EntityType`."],["The request requires one of two specified OAuth scopes to be properly authorized to make the request, as listed in the \"Authorization Scopes\" section."]]],[]]