Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::GetEntityTypeRequest (v0.10.1)

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

The request message for EntityTypes.GetEntityType.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#language_code

def language_code() -> ::String
Returns
  • (::String) — The language to retrieve the entity type for. The following fields are language dependent:

    • 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 to retrieve the entity type for. The following fields are language dependent:

    • 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 to retrieve the entity type for. The following fields are language dependent:

    • 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.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>.
Returns
  • (::String) — Required. The name of the entity type. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>.