Class CreateEntityTypeRequest (0.8.0)

CreateEntityTypeRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType].

Attributes: parent (str): Required. The agent to create a entity type for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. entity_type (google.cloud.dialogflowcx_v3.types.EntityType): Required. The entity type to create. language_code (str): The language of the following fields in entity_type:

    -  ``EntityType.entities.value``
    -  ``EntityType.entities.synonyms``
    -  ``EntityType.excluded_phrases.value``


    If not specified, the agent's default language is used.
    `Many
    languages <https://cloud.google.com/dialogflow/cx/docs/reference/language>`__
    are supported. Note: languages must be enabled in the agent
    before they can be used.

Inheritance

builtins.object > proto.message.Message > CreateEntityTypeRequest