Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::CreateEntityTypeRequest (v0.7.1)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::CreateEntityTypeRequest.

The request message for EntityTypes.CreateEntityType.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#entity_type

def entity_type() -> ::Google::Cloud::Dialogflow::CX::V3::EntityType
Returns

#entity_type=

def entity_type=(value) -> ::Google::Cloud::Dialogflow::CX::V3::EntityType
Parameter
Returns

#language_code

def language_code() -> ::String
Returns
  • (::String) — 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 are supported. Note: languages must be enabled in the agent before they can be used.

#language_code=

def language_code=(value) -> ::String
Parameter
  • value (::String) — 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 are supported. Note: languages must be enabled in the agent before they can be used.

Returns
  • (::String) — 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 are supported. Note: languages must be enabled in the agent before they can be used.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The agent to create a entity type for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The agent to create a entity type for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
Returns
  • (::String) — Required. The agent to create a entity type for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.