Class: Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb

Overview

The request message for EntityTypes::CreateEntityType.

Instance Attribute Summary collapse

Instance Attribute Details

#entity_typeGoogle::Cloud::Dialogflow::V2::EntityType

Returns Required. The entity type to create.

Returns:



147
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb', line 147

class CreateEntityTypeRequest; end

#language_codeString

Returns Optional. The language of entity synonyms defined in entity_type. If not specified, the agent's default language is used. More than a dozen languages are supported. Note: languages must be enabled in the agent, before they can be used.

Returns:

  • (String)

    Optional. The language of entity synonyms defined in entity_type. If not specified, the agent's default language is used. More than a dozen languages are supported. Note: languages must be enabled in the agent, before they can be used.



147
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb', line 147

class CreateEntityTypeRequest; end

#parentString

Returns Required. The agent to create a entity type for. Format: projects/<Project ID>/agent.

Returns:

  • (String)

    Required. The agent to create a entity type for. Format: projects/<Project ID>/agent.



147
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/entity_type.rb', line 147

class CreateEntityTypeRequest; end